Kaydet (Commit) a5a47da9 authored tarafından Yan Pashkovsky's avatar Yan Pashkovsky Kaydeden (comit) Colomban Wendling

classbuilder: Use .hpp instead of .h for C++ header file extension

.hpp is a C++-specific extension avoiding any confusion, and better
supported as C++ out of the box by Geany.

Closes #999.
üst 1403d352
...@@ -630,7 +630,7 @@ static void cc_dlg_update_file_names(CreateClassDialog *cc_dlg) ...@@ -630,7 +630,7 @@ static void cc_dlg_update_file_names(CreateClassDialog *cc_dlg)
{ {
case GEANY_CLASS_TYPE_CPP: case GEANY_CLASS_TYPE_CPP:
{ {
class_header = g_strconcat(class_name_down, ".h", NULL); class_header = g_strconcat(class_name_down, ".hpp", NULL);
class_source = g_strconcat(class_name_down, ".cpp", NULL); class_source = g_strconcat(class_name_down, ".cpp", NULL);
break; break;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment