Ecere Software
/
sdk
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
bindings/cpp/samples: added comments; using (Gui)Application::class_registration()
[sdk]
/
bindings
/
cpp
/
samples
/
helloApp2.cpp
1
#define MODULE_NAME "MyApp"
2
3
#include "eC.hpp"
4
5
// Demonstrates 'main()' C++ style override (MyApp is not registered with eC COM)
6
7
class MyApp : public Application
8
{
9
public:
10
void main()
11
{
12
PrintLn(class_String, "C++: Hello, eC", null);
13
}
14
};
15
16
MyApp app;
17
18
MAIN_DEFINITION