002
26.10.2007, 13:38 Uhr
xXx
Devil
|
C++: |
struct PROPERTYPAGE { PROPERTYPAGE(int idd = -1, void* data = NULL, CRuntimeClass* runtime = NULL) : idd(idd), page(data), runtimeclass(runtime), status(0) {}
int idd; void* page; CRuntimeClass* runtimeclass; int status; };
|
...
C++: |
struct PROPERTYPAGE { /* public: \\ unnötig */ PROPERTYPAGE(int idd = -1, void* page = /*(void*) \\ unnötig */NULL, CRuntimeClass* runtimeclass = /*(CRuntimeClass*) \\ unnötig */NULL) { /* this->idd = idd; /* this->page = page; /* this->runtimeclass = runtimeclass; /* this->status = 0; /* // Initialialisierungsliste nutzen */ }
/* ~PROPERTYPAGE() {} \\ unnötig */
int idd; void* page; CRuntimeClass* runtimeclass; int status; };
|
|