Logo Search packages:      
Sourcecode: codeblocks version File versions  Download package

ibaseloader.h

/*
 * This file is part of the Code::Blocks IDE and licensed under the GNU Lesser General Public License, version 3
 * http://www.gnu.org/licenses/lgpl-3.0.html
 */

#ifndef IBASELOADER_H
#define IBASELOADER_H

#include <wx/string.h>
#include "settings.h"
#include "tinyxml/tinyxml.h"

/** Base interface for project loaders. */
00014 class DLLIMPORT IBaseLoader
{
      public:
        /// Constructor
00018             IBaseLoader(){}
            /// Destructor
00020             virtual ~IBaseLoader(){}

        /** Open a file.
          * @param filename The file to open.
          * @return True on success, false on failure. */
        virtual bool Open(const wxString& filename) = 0;

        /** Save a file.
          * @param filename The file to save.
          * @return True on success, false on failure. */
        virtual bool Save(const wxString& filename) = 0;
    protected:
};

#endif // IBASELOADER_H

Generated by  Doxygen 1.6.0   Back to index