Changeset 147 in pacpusframework for branches/2.0-beta1/src/PacpusLib


Ignore:
Timestamp:
Jul 31, 2013, 1:17:16 PM (11 years ago)
Author:
Marek Kurdej
Message:

Added: scripts to create new component.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2.0-beta1/src/PacpusLib/XmlConfigFile.cpp

    r146 r147  
    2121XmlConfigFile * XmlConfigFile::m_xmlConfigFile = NULL;
    2222
    23 static const string kPropertyPluginList = "list";
    24 
    25 static const string kXmlConfigFilename = "pacpus_config.xml";
     23static const char * kXmlConfigFilename = "pacpus_config.xml";
    2624
    2725static const char * kRootSection = "pacpus";
     
    5957    m_document.documentElement().appendChild(m_document.createElement(kComponentSection));
    6058    m_document.documentElement().appendChild(m_document.createElement(kConnectionSection));
    61     m_file.setFileName(kXmlConfigFilename.c_str());
     59    m_file.setFileName(kXmlConfigFilename);
    6260    bool isOpenedSuccessfully = m_file.open(QIODevice::ReadWrite); // FIXME: ReadOnly ?
    6361    if (isOpenedSuccessfully) {
Note: See TracChangeset for help on using the changeset viewer.