project64/Source/Common/Util.h

20 lines
615 B
C
Raw Normal View History

2015-11-06 11:55:21 +00:00
#pragma once
#include "stdtypes.h"
class pjutil
{
public:
typedef void * DynLibHandle;
static DynLibHandle DynLibOpen(const char *pccLibraryPath, bool ShowErrors = true);
static void * DynLibGetProc(DynLibHandle LibHandle, const char * ProcedureName);
static void DynLibClose(DynLibHandle LibHandle);
2015-11-06 11:55:21 +00:00
static void Sleep(uint32_t timeout);
static bool TerminatedExistingExe();
private:
pjutil(void); // Disable default constructor
pjutil(const pjutil&); // Disable copy constructor
pjutil& operator=(const pjutil&); // Disable assignment
2017-02-05 01:02:53 +00:00
};