git-svn-id: http://svn.purei.org/purei/trunk@183 b36208d7-6611-0410-8bec-b1987f11c4a2
This commit is contained in:
jpd002 2007-12-06 23:20:08 +00:00
parent 9b21741059
commit e863d636b9
5 changed files with 877 additions and 863 deletions

View File

@ -1,8 +1,8 @@
#ifndef _CONFIG_H_
#define _CONFIG_H_
#include <string>
#include "List.h"
#include "Str.h"
#include "Semaphore.h"
#include "xml/Node.h"
@ -44,7 +44,7 @@ private:
virtual void Serialize(Framework::Xml::CNode*);
private:
Framework::CStrA m_sName;
std::string m_sName;
PREFERENCE_TYPE m_nType;
};
@ -84,7 +84,7 @@ private:
virtual void Serialize(Framework::Xml::CNode*);
private:
Framework::CStrA m_sValue;
std::string m_sValue;
};
CConfig();

View File

@ -550,7 +550,7 @@ protected:
nColumnNum = (nY / Storage::COLUMNHEIGHT);
nY %= Storage.COLUMNHEIGHT;
nY %= Storage::COLUMNHEIGHT;
return (m_nPointer + (nPageNum * PAGESIZE) + (nBlockNum * BLOCKSIZE) + (nColumnNum * COLUMNSIZE)) & (RAMSIZE - 1);
}

View File

@ -164,17 +164,17 @@ namespace IOP
static void Log(const char*, ...);
};
template <> virtual void CPadMan::CPadDataHandler<CPadMan::PADDATA>::SetModeCurId(unsigned int)
template <> void CPadMan::CPadDataHandler<CPadMan::PADDATA>::SetModeCurId(unsigned int)
{
}
template <> virtual void CPadMan::CPadDataHandler<CPadMan::PADDATA>::SetModeCurOffset(unsigned int)
template <> void CPadMan::CPadDataHandler<CPadMan::PADDATA>::SetModeCurOffset(unsigned int)
{
}
template <> virtual void CPadMan::CPadDataHandler<CPadMan::PADDATA>::SetModeTable(unsigned int, unsigned int)
template <> void CPadMan::CPadDataHandler<CPadMan::PADDATA>::SetModeTable(unsigned int, unsigned int)
{
}

File diff suppressed because it is too large Load Diff

View File

@ -1,28 +1,32 @@
#ifndef _THREADMSG_H_
#define _THREADMSG_H_
#include <windows.h>
class CThreadMsg
{
public:
struct MESSAGE
{
unsigned int nMsg;
unsigned int nRetValue;
void* pParam;
};
CThreadMsg();
~CThreadMsg();
unsigned int SendMessage(unsigned int, void*);
bool GetMessage(MESSAGE*);
void FlushMessage(unsigned int);
bool IsMessagePending();
private:
HANDLE m_hEvent;
MESSAGE m_Msg;
bool m_nMessage;
};
#ifndef _THREADMSG_H_
#define _THREADMSG_H_
#ifdef WIN32
#include <windows.h>
#endif
class CThreadMsg
{
public:
struct MESSAGE
{
unsigned int nMsg;
unsigned int nRetValue;
void* pParam;
};
CThreadMsg();
~CThreadMsg();
unsigned int SendMessage(unsigned int, void*);
bool GetMessage(MESSAGE*);
void FlushMessage(unsigned int);
bool IsMessagePending();
private:
#ifdef WIN32
HANDLE m_hEvent;
#endif
MESSAGE m_Msg;
bool m_nMessage;
};
#endif