[Projec64] Update code related to class friend
This commit is contained in:
parent
1a49b48282
commit
3eb589df12
|
@ -99,15 +99,15 @@ public:
|
||||||
void SyncSystemPC();
|
void SyncSystemPC();
|
||||||
private:
|
private:
|
||||||
//Make sure plugins can directly access this information
|
//Make sure plugins can directly access this information
|
||||||
friend CGfxPlugin;
|
friend class CGfxPlugin;
|
||||||
friend CAudioPlugin;
|
friend class CAudioPlugin;
|
||||||
friend CRSP_Plugin;
|
friend class CRSP_Plugin;
|
||||||
friend CControl_Plugin;
|
friend class CControl_Plugin;
|
||||||
|
|
||||||
//Recompiler has access to manipulate and call functions
|
//Recompiler has access to manipulate and call functions
|
||||||
friend CSystemTimer;
|
friend class CSystemTimer;
|
||||||
friend CRecompiler;
|
friend class CRecompiler;
|
||||||
friend CMipsMemoryVM;
|
friend class CMipsMemoryVM;
|
||||||
|
|
||||||
//Used for loading and potentially executing the CPU in its own thread.
|
//Used for loading and potentially executing the CPU in its own thread.
|
||||||
static void StartEmulationThread(CThread * thread);
|
static void StartEmulationThread(CThread * thread);
|
||||||
|
|
|
@ -80,7 +80,7 @@ public:
|
||||||
inline uint32_t Buttons(void) const { return m_Buttons.Value; }
|
inline uint32_t Buttons(void) const { return m_Buttons.Value; }
|
||||||
inline PluginType Plugin(void) const { return static_cast<PluginType>(m_PlugType); }
|
inline PluginType Plugin(void) const { return static_cast<PluginType>(m_PlugType); }
|
||||||
private:
|
private:
|
||||||
friend CControl_Plugin; //controller plugin class has full access
|
friend class CControl_Plugin; //controller plugin class has full access
|
||||||
|
|
||||||
int32_t & m_Present;
|
int32_t & m_Present;
|
||||||
int32_t & m_RawData;
|
int32_t & m_RawData;
|
||||||
|
|
|
@ -96,9 +96,9 @@ private:
|
||||||
CMainGui(const CMainGui&); // Disable copy constructor
|
CMainGui(const CMainGui&); // Disable copy constructor
|
||||||
CMainGui& operator=(const CMainGui&); // Disable assignment
|
CMainGui& operator=(const CMainGui&); // Disable assignment
|
||||||
|
|
||||||
friend CGfxPlugin;
|
friend class CGfxPlugin;
|
||||||
friend CAudioPlugin;
|
friend class CAudioPlugin;
|
||||||
friend CControl_Plugin;
|
friend class CControl_Plugin;
|
||||||
|
|
||||||
bool RegisterWinClass(void);
|
bool RegisterWinClass(void);
|
||||||
void ChangeWinSize(long width, long height);
|
void ChangeWinSize(long width, long height);
|
||||||
|
|
Loading…
Reference in New Issue