Files
envi-code/SourceCode/Code2026/inc/UIHistory.h
T

29 lines
619 B
C++
Raw Normal View History

2026-10-04 00:04:20 +08:00
#pragma once
2026-09-28 15:28:50 +08:00
#include <map>
#include <vector>
#include <sstream>
#include <fstream>
#include <algorithm>
#ifdef EARTHWORM_EXPORT
#define DLLIMPEXP __declspec(dllexport)
#else
#define DLLIMPEXP __declspec(dllimport)
#endif
class DLLIMPEXP UIHistory
{
public:
static bool hasCatchFile(LPCTSTR pszFileNameNoPath);
static CString getCacheFilePath(LPCTSTR pszFileNameNoPath, bool bCreate);
/*
2026-10-04 00:04:20 +08:00
%d - 整型
%s - 字符串
%f - 浮点
2026-09-28 15:28:50 +08:00
*/
static bool writeCache(LPCTSTR pszFileNameNoPath, LPCTSTR cmd, LPCTSTR format, ...);
static bool readCache(LPCTSTR pszFileNameNoPath, LPCTSTR cmd, LPCTSTR format, ...);
};