dialogs/settings.cpp
i386-stub-win32.c
: <define>WIN32 <define>_WIN32_IE=0x0600 <define>_WIN32_WINNT=0x0501 <define>WINVER=0x0500
- <cxxflags>-I$(INCLUDE)
+ <cxxflags>-I$(INCLUDE) <cxxflags>-I.
#nur für GCC: <cxxflags>-fexceptions <cxxflags>-Wall
<find-shared-library>gdi32
<find-shared-library>ole32
actions quietly resource-compile-mingw
{
- windres -o "$(<)" -i "$(>)"
+ windres -D__WINDRES__ -o "$(<)" -i "$(>)"
}
actions quietly resource-compile-cygwin
{
- windres --include-dir "$(>:D)" -o "$(<)" -i "$(>)"
+ windres -D__WINDRES__ --include-dir "$(>:D)" -o "$(<)" -i "$(>)"
}
actions quietly create-empty-object
return out;
}
-protected:
- Children _children;
- AttributeMap _attributes;
-
- std::string _leading;
- std::string _content;
- std::string _end_leading;
- std::string _trailing;
-
- XMLNode* get_first_child() const
- {
- if (!_children.empty())
- return _children.front();
- else
- return NULL;
- }
-
XMLNode* find(const XS_String& name, int n=0) const
{
for(Children::const_iterator it=_children.begin(); it!=_children.end(); ++it)
/// relative XPath create function
XMLNode* create_relative(const char* path);
+protected:
+ Children _children;
+ AttributeMap _attributes;
+
+ std::string _leading;
+ std::string _content;
+ std::string _end_leading;
+ std::string _trailing;
+
+ XMLNode* get_first_child() const
+ {
+ if (!_children.empty())
+ return _children.front();
+ else
+ return NULL;
+ }
+
void write_worker(std::ostream& out, int indent) const;
void pretty_write_worker(std::ostream& out, int indent) const;
void smart_write_worker(std::ostream& out, int indent) const;