Skip to content

Commit

Permalink
Fix include files
Browse files Browse the repository at this point in the history
  • Loading branch information
gammasoft71 committed Jun 22, 2024
1 parent 19b8f9b commit 5fd4e65
Show file tree
Hide file tree
Showing 9 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion tools/xtdc/src/c_console_project.h
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ namespace xtdc_command {

void create_source(const xtd::ustring& name, const xtd::ustring& path) const {
std::vector<xtd::ustring> lines {
"#include <stdio>",
"#include <stdio.h>",
"",
"/* The main entry point for the application. */",
"int main(int argc, char* argv[]) {",
Expand Down
2 changes: 1 addition & 1 deletion tools/xtdc/src/gtk2_gui_project.h
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ namespace xtdc_command {

void create_source(const xtd::ustring& name, const xtd::ustring& path) const {
std::vector<xtd::ustring> lines {
"#include <gtk/gtk>",
"#include <gtk/gtk.h>",
"",
"/* The main entry point for the application. */",
"int main(int argc, char* argv[]) {",
Expand Down
2 changes: 1 addition & 1 deletion tools/xtdc/src/gtk3_gui_project.h
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ namespace xtdc_command {

void create_source(const xtd::ustring& name, const xtd::ustring& path) const {
std::vector<xtd::ustring> lines {
"#include <gtk/gtk>",
"#include <gtk/gtk.h>",
"",
"/* The main entry point for the application. */",
"int main(int argc, char* argv[]) {",
Expand Down
2 changes: 1 addition & 1 deletion tools/xtdc/src/gtk4_gui_project.h
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ namespace xtdc_command {

void create_source(const xtd::ustring& name, const xtd::ustring& path) const {
std::vector<xtd::ustring> lines {
"#include <gtk/gtk>",
"#include <gtk/gtk.h>",
"",
"/* The main entry point for the application. */",
"int main(int argc, char* argv[]) {",
Expand Down
2 changes: 1 addition & 1 deletion tools/xtdc/src/gtkmm_gui_project.h
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ namespace xtdc_command {
std::vector<xtd::ustring> lines {
"/// @file",
"/// @brief Contains Window1 class.",
"#include <gtkmm>",
"#include <gtkmm.h>",
"",
xtd::ustring::format("namespace {} {{", name),
" /// @brief Represent the main window",
Expand Down
2 changes: 1 addition & 1 deletion tools/xtdc/src/win32_gui_project.h
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ namespace xtdc_command {
std::vector<xtd::ustring> lines {
"#pragma comment(linker,\"\\\"/manifestdependency:type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='*' publicKeyToken='6595b64144ccf1df' language='*'\\\"\")",
"",
"#include <Windows>",
"#include <Windows.h>",
"",
"struct window {",
" HWND handle = NULL;",
Expand Down
2 changes: 1 addition & 1 deletion tools/xtdc/src/wxwidgets_gui_project.h
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ namespace xtdc_command {
"/// @file",
"/// @brief Contains Frame1 class.",
"#pragma once",
"#include <wx/frame>",
"#include <wx/frame.h>",
"",
xtd::ustring::format("namespace {} {{", name),
" /// @brief Represent the main window",
Expand Down
2 changes: 1 addition & 1 deletion tools/xtdc/src/xtd_c_gui_project.h
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ namespace xtdc_command {

void create_source(const xtd::ustring& name, const xtd::ustring& path) const {
std::vector<xtd::ustring> lines {
"#include <xtd_c/xtd_c>",
"#include <xtd_c/xtd_c.h>",
"",
"auto main() -> int {",
" xtd_forms_control* form1 = xtd_forms_form_create();",
Expand Down
2 changes: 1 addition & 1 deletion tools/xtdc/src/xtd_gui_project.h
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ namespace xtdc_command {
"}",
"",
"auto form1::main() -> void {",
" application::run(form1());",
" application::run(form1 {});",
"}",
};

Expand Down

0 comments on commit 5fd4e65

Please sign in to comment.