Changeset 147 in pacpusframework


Ignore:
Timestamp:
07/31/13 13:17:16 (11 years ago)
Author:
Marek Kurdej
Message:

Added: scripts to create new component.

Location:
branches/2.0-beta1/src
Files:
7 added
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.