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

conf.h

#ifndef CONF_H
#define CONF_H

#include <wx/string.h>
#include <wx/dynarray.h>
#include "cbiniparser.h"

00008 struct UpdateRec
{
    wxString entry;         //! .entry filename for installed
00011     wxString title;
    wxString name;
    wxString desc;
    wxString remote_server;
    wxString remote_file;
    wxString local_file;
    wxArrayString groups;
    wxString install_path;  //! ignored
00019     wxString version;
    wxString revision;
    wxString installed_version;
    long int bytes;
    float kilobytes;
    float megabytes;
    wxString size;
    wxString date;
    bool installable;
    bool downloaded;
    bool installed;
};

extern wxString g_MasterPath;

UpdateRec* ReadConf(const IniParser& ini, int* recCount, const wxString& currentServer, const wxString& appPath);
UpdateRec* FindRec(const wxString& title, const wxString& version, const wxString& revision, UpdateRec* list, int count);
// utility
wxString GetSizeString(int bytes);

#endif // CONF_H

Generated by  Doxygen 1.6.0   Back to index