1 Star 0 Fork 0

xiaohongyong/MusicPlayer

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
cpp_format_test.h 3.72 KB
一键复制 编辑 原始数据 按行查看 历史

#if !defined(AFX_SKINBUTTON_H__FD258491_71A3_11D5_9E04_02608CAD9330__INCLUDED_)
#define AFX_SKINBUTTON_H__FD258491_71A3_11D5_9E04_02608CAD9330__INCLUDED_
#define
bool getBool(cstr_t szAppName, cstr_t szKeyName, int nDefault)
{ return getInt(szAppName, szKeyName, nDefault) != 0; }
#define DEBUGCLASSNAME "Debug Tracer Class"
#define DEBUGWNDNAME "Debug Tracer"
#define UTF8 // in iPhone and Mac OS X, default character encoding is UTF8
#define OBJ_REFERENCE_DECL \
public:\
virtual void addRef() {\
interlockedIncrement(&m_nReference);\
}
RegErr2Str::RegErr2Str(struct IdToString err2Str[]) {
[m_info->menu popUpMenuPositioningItem: [m_info->menu itemAtIndex:0]
atLocation: pt
inView: nil];
if (strncmp(szProfile + HKEY_LEN, "LOCAL_MACHINE",
nLenRootKey = strlen("LOCAL_MACHINE")) == 0) {
m_hKeyRoot = HKEY_LOCAL_MACHINE;
} else if (strncmp(szProfile + HKEY_LEN, "CURRENT_USER",
nLenRootKey = strlen("CURRENT_USER")) == 0) {
} else if (a ||
b) {
m_hKeyRoot = HKEY_CURRENT_USER;
}
while (nToCopy && (*strDestination++ = *strSource++)) /* copy string */ {
nToCopy--;
}
while (nToCopy && (*strDestination++ = *strSource++)) /* copy string */
nToCopy--;
while( *cp )
cp++; /* find end of dst */
if (!g_err2StrHeader) {
g_err2StrHeader = this;
} else
RegErr2Str *p = g_err2StrHeader;
while (p->m_pNext)
{
p = p->m_pNext;
}
p->m_pNext = this;
}
#pragma once
#define MD_CTX md5_state_t
class IRunnable
{
public:
IRunnable() { m_bFreeAfterRun = false; }
virtual ~IRunnable() { }
virtual void run() = 0;
class CRunnableQueue {
UIOBJECT_CLASS_NAME_DECLARE(CSkinNStatusButton)
public:
CRunnableQueue();
protected:
typedef list<IRunnable *> ListRunnable; // Comments
ListRunnableXXXXXXXXXXXXXXXXXX m_listRunnable; // ccc
ListRunnable m_listRunnable; // ccc
ListRunnable m_listRunnable; // ccc
T* p;
};
enum Command
{
C_CLICK = 1,
C_BEGIN_HOVER = 2, // Comments
C_HOVER_ACTION,
C_END_HOVER,
ERR_NOT_FOUND_ID3V2 = 70,
ERR_NOT_SUPPORT_ID3V2_VER = 71,
ERR_INVALID_ID3V2_FRAME = 72,
};
#ifdef _SKIN_EDITOR_
void enumProperties(CUIObjProperties &listProperties);
#endif // _SKIN_EDITOR_
// inline bool IsFreeAfterRun() const { return m_bFreeAfterRun; }
private:
friend class CLooper;
bool m_bFreeAfterRun;
};
#define TIMER_SPAN_DYNAMIC_TRANS 30
#define TIME_OUT_TRANS_FADEIN 500
#define TIME_OUT_ANIMATION 30
#define _TRANSLUCENCY_ENABLED
template<class _TCHAR>
uint32_t getColorValue_t(_TCHAR *szColor, uint32_t nDefault)
{
if (c == EOF)
return ERR_EOF;
do
x = 1;
while (c != EOF);
switch (expression)
{
case 1:
break;
case 2:
break;
case XXY: {
break;
}
default:
break;
}
CRect rcRestrict;
if (getMonitorRestrictRect(rc, rcRestrict))
{
return ((rc.right < rcRestrict.left + 20) || (rc.left > rcRestrict.right - 20) ||
(rc.bottom < rcRestrict.top + 10) || (rc.top > rcRestrict.bottom - 40));
}
else if (strcasecmp(szProperty, "fixedWidth") == 0)
m_wndResizer.fixedWidth(isTRUE(szValue));
else
return false;
{
{
a = 1;
}
}
if (x) {
} else {
}
if (y) ; else b;
uRet = ((uRet & 0xFF) << 16) + (uRet & 0xFF00) + ((uRet & 0xFF0000) >> 16);
char szValue[128];
while (*szText && *szText != '&')
szText++;
for (;;) szText++;
do {
}
while (1);
CAutoRedrawLock redrawLock(this);
string strSkinWndName = makeString();
}
#endif // AFX_SKINBUTTON_H__FD258491_71A3_11D5_9E04_02608CAD9330__INCLUDED_
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/xiaohongyong/MusicPlayer.git
git@gitee.com:xiaohongyong/MusicPlayer.git
xiaohongyong
MusicPlayer
MusicPlayer
master

搜索帮助