You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
mitlib.pub/MITLIB/GuiDLL/CompactDb.h

34 lines
859 B
C++

// CompactDb.h: interface for the CCompactDb class.
//
//////////////////////////////////////////////////////////////////////
#if !defined(AFX_COMPACTDB_H__C3ADC9D3_ED01_44D0_A91F_9497CEB57262__INCLUDED_)
#define AFX_COMPACTDB_H__C3ADC9D3_ED01_44D0_A91F_9497CEB57262__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
#include "MyStringArray.h"
#ifdef BUILD_GUIDLL
#define DLLCLASS __declspec(dllexport)
#else
#define DLLCLASS __declspec(dllimport)
#endif
class DLLCLASS CCompactDb
{
public:
CCompactDb();
virtual ~CCompactDb();
// compact database
static bool CompactDb(CMyStringArray csaDbFileName);
private:
static const char *m_sccBackupFileName; // backup file name string
};
#endif // !defined(AFX_COMPACTDB_H__C3ADC9D3_ED01_44D0_A91F_9497CEB57262__INCLUDED_)