1 #ifndef _KviPackageWriter_h_
2 #define _KviPackageWriter_h_
103 bool addFile(
const QString & szLocalFileName,
const QString & szTargetFileName, kvi_u32_t uAddFileFlags = 0);
112 bool addDirectory(
const QString & szLocalDirectoryName,
const QString & szTargetDirectoryPrefix, kvi_u32_t uAddFileFlags = 0);
120 void addInfoField(
const QString & szName,
const QString & szValue);
128 void addInfoField(
const QString & szName, QByteArray *
pArray);
141 bool pack(
const QString & szFileName, kvi_u32_t uPackFlags = 0);
152 bool packInternal(
const QString & szFileName, kvi_u32_t uPackFlags = 0);
174 bool addFileInternal(
const QFileInfo * fi,
const QString & szLocalFileName,
const QString & szTargetFileName, kvi_u32_t uAddFileFlags = 0);
178 #endif //_KviPackageWriter_h_
Definition: KviPackageWriter.cpp:44
bool pack(AddonInfo &info, QString &szError)
Definition: AddonFunctions.cpp:294
KVIrc File class.
Definition: KviFile.h:52
File packaging utilities.
KviKvsArray * pArray
Definition: libkviserverdb.cpp:476
PackFlags
Definition: KviPackageWriter.h:86
This class is used to create KVIrc package files.
Definition: KviPackageWriter.h:53
Definition: KviPackageWriter.cpp:56
AddFileFlags
Definition: KviPackageWriter.h:77
KviPackageWriterPrivate * m_p
Definition: KviPackageWriter.h:71
This file contains compile time settings.
This class is the base class engine to work with KVIrc package files.
Definition: KviPackageIOEngine.h:53
#define KVILIB_API
Definition: kvi_settings.h:125
Helper functions for the QString class.