DriveHQ Start Menu
Cloud Drive Mapping
Folder Sync
Cloud Backup
True Drop Box
FTP/SFTP Hosting
Group Account
DriveHQ Start Menu
Online File Server
My Storage
|
Manage Shares
|
Publishes
|
Drop Boxes
|
Group Account
WebDAV Drive Mapping
Cloud Drive Home
|
WebDAV Guide
|
Drive Mapping Tool
|
Drive Mapping URL
Complete Data Backup
Backup Guide
|
Online Backup Tool
|
Cloud-to-Cloud Backup
FTP, Email & Web Service
FTP Home
|
FTP Hosting FAQ
|
Email Hosting
|
EmailManager
|
Web Hosting
Help & Resources
About
|
Enterprise Service
|
Partnership
|
Comparisons
|
Support
Quick Links
Security and Privacy
Download Software
Service Manual
Use Cases
Group Account
Online Help
Blog
Contact
Cloud Surveillance
Sign Up
Login
Features
Business Features
Online File Server
FTP Hosting
Cloud Drive Mapping
Cloud File Backup
Email Backup & Hosting
Cloud File Sharing
Folder Synchronization
Group Management
True Drop Box
Full-text Search
AD Integration/SSO
Mobile Access
IP Camera & DVR Solution
More...
Personal Features
Personal Cloud Drive
Backup All Devices
Mobile APPs
Personal Web Hosting
Sub-Account (for Kids)
Home/PC/Kids Monitoring
More...
Software
DriveHQ Drive Mapping Tool
DriveHQ FileManager
DriveHQ Online Backup
DriveHQ Mobile Apps
Pricing
Business Plans & Pricing
Personal Plans & Pricing
Price Comparison with Others
Feature Comparison with Others
Install Mobile App
Sign up
Creating account...
Invalid character in username! Only 0-9, a-z, A-Z, _, -, . allowed.
Username is required!
Invalid email address!
E-mail is required!
Password is required!
Password is invalid!
Password and confirmation do not match.
Confirm password is required!
I accept
Membership Agreement
Please read the Membership Agreement and check "I accept"!
Free Quick Sign-up
Sign-up Page
Log in
Signing in...
Username or e-mail address is required!
Password is required!
Keep me logged in
Quick Login
Forgot Password
Up
Upload
Download
Share
Publish
New Folder
New File
Copy
Cut
Delete
Paste
Rate
Upgrade
Rotate
Effect
Edit
Slide
History
/*********************************************************************** filename: CEGUIConfig_xmlHandler.h created: 17/7/2004 author: Paul D Turner purpose: Interface to configuration file parser *************************************************************************/ /*************************************************************************** * Copyright (C) 2004 - 2006 Paul D Turner & The CEGUI Development Team * * Permission is hereby granted, free of charge, to any person obtaining * a copy of this software and associated documentation files (the * "Software"), to deal in the Software without restriction, including * without limitation the rights to use, copy, modify, merge, publish, * distribute, sublicense, and/or sell copies of the Software, and to * permit persons to whom the Software is furnished to do so, subject to * the following conditions: * * The above copyright notice and this permission notice shall be * included in all copies or substantial portions of the Software. * * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. * IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR * OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, * ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR * OTHER DEALINGS IN THE SOFTWARE. ***************************************************************************/ #ifndef _CEGUIConfig_xmlHandler_h_ #define _CEGUIConfig_xmlHandler_h_ #include "CEGUIBase.h" #include "CEGUIString.h" #include "CEGUILogger.h" #include "CEGUIXMLHandler.h" #include
// Start of CEGUI namespace section namespace CEGUI { /*! \brief Handler class used to parse the Configuration XML file. */ class Config_xmlHandler : public XMLHandler { public: /************************************************************************* Construction & Destruction *************************************************************************/ /*! \brief Constructor for GUILayout_xmlHandler objects */ Config_xmlHandler(void) {} /*! \brief Destructor for GUILayout_xmlHandler objects */ virtual ~Config_xmlHandler(void) {} /************************************************************************* SAX2 Handler overrides *************************************************************************/ /*! \brief document processing (only care about elements, schema validates format) */ virtual void elementStart(const String& element, const XMLAttributes& attributes); /************************************************************************* Functions used by our implementation *************************************************************************/ /*! \brief Return log filename */ const String& getLogFilename(void) const {return d_logFilename;} /*! \brief Return initial scheme filename to load */ const String& getSchemeFilename(void) const {return d_schemeFilename;} /*! \brief Return initial layout filename to load and set as the GUI sheet. */ const String& getLayoutFilename(void) const {return d_layoutFilename;} /*! \brief Return the name of the initialisation script to run */ const String& getInitScriptFilename(void) const {return d_initScriptFilename;} /*! \brief Return the name of the termination script to run */ const String& getTermScriptFilename(void) const {return d_termScriptFilename;} /*! \brief Return name of font to use as default. */ const String& getDefaultFontName(void) const {return d_defaultFontName;} /*! \brief Return name of default resource group. */ const String& getDefaultResourceGroup(void) const {return d_defaultResourceGroup;} /*! \brief Return logging level which was read from the config file. */ LoggingLevel getLoggingLevel(void) const {return d_logLevel;} private: /************************************************************************* Implementation Constants *************************************************************************/ static const String CEGUIConfigElement; //!< Tag name for CEGUIConfig elements. static const char ConfigLogfileAttribute[]; //!< Attribute name that stores the filename to use for the log. static const char ConfigSchemeAttribute[]; //!< Attribute name that stores the filename of a scheme to load. static const char ConfigLayoutAttribute[]; //!< Attribute name that stores the filename of a layout to load. static const char ConfigDefaultFontAttribute[]; //!< Attribute name that stores the name of the default font to set (as loaded by scheme) static const char ConfigInitScriptAttribute[]; //!< Attribute name that stores the filename of an initialisation script to run. static const char ConfigTerminateScriptAttribute[]; //!< Attribute name that stores the filename of a termination script to run. static const char ConfigDefaultResourceGroupAttribute[]; //!< Attribute name that stores the default resource group (also used when loading config resources). static const char ConfigLoggingLevelAttribute[]; //!< Attribute name that stores the logging level to be used. /************************************************************************* Implementation Data *************************************************************************/ String d_logFilename; //!< filename for the log. String d_schemeFilename; //!< filename for the scheme to auto-load. String d_layoutFilename; //!< filename for the layout to auto-load. String d_initScriptFilename; //!< filename for the script to run after system init. String d_termScriptFilename; //!< filename for the script to run before system shutdown. String d_defaultFontName; //!< Holds name of default font to set. String d_defaultResourceGroup; //!< Holds default resource group name. LoggingLevel d_logLevel; //!< Holds the logging level read from the config. }; } // End of CEGUI namespace section #endif // end of guard _CEGUIConfig_xmlHandler_h_
CEGUIConfig_xmlHandler.h
Page URL
File URL
Prev
7/76
Next
Download
( 6 KB )
Note: The DriveHQ service banners will NOT be displayed if the file owner is a paid member.
Comments
Total ratings:
0
Average rating:
Not Rated
Would you like to comment?
Join DriveHQ
for a free account, or
Logon
if you are already a member.