working on rendering
This commit is contained in:
7
public/tier1/appinit.h
Normal file
7
public/tier1/appinit.h
Normal file
@@ -0,0 +1,7 @@
|
||||
#ifndef APPINIT_H
|
||||
#define APPINIT_H
|
||||
|
||||
|
||||
void AppInitializePath();
|
||||
|
||||
#endif
|
||||
@@ -6,6 +6,8 @@
|
||||
typedef void *( *CreateInterfaceFn )( const char *szName, int *pReturnCode );
|
||||
typedef void *( *InstantiateInterfaceFn )( void );
|
||||
|
||||
CreateInterfaceFn Plat_GetInterfaceFactory( void *lib );
|
||||
|
||||
class CInterfaceRegistry
|
||||
{
|
||||
public:
|
||||
|
||||
@@ -23,6 +23,10 @@ public:
|
||||
void RemoveHead( size_t nCount );
|
||||
void RemoveAt( size_t nPosition, size_t nCount );
|
||||
|
||||
CUtlString GetFileName();
|
||||
CUtlString GetDirectory();
|
||||
CUtlString RemoveHeadFile();
|
||||
|
||||
char *GetString( void );
|
||||
size_t GetLenght( void );
|
||||
operator char*( void );
|
||||
|
||||
@@ -306,6 +306,9 @@ public:
|
||||
void RemoveTail( void );
|
||||
void RemoveAt( size_t nIndex );
|
||||
|
||||
T &GetFirst();
|
||||
T &GetLast();
|
||||
|
||||
size_t GetSize();
|
||||
|
||||
T operator[]( size_t nIndex );
|
||||
@@ -428,4 +431,17 @@ void CUtlSelfReferencingVector<T>::RemoveTail( void )
|
||||
|
||||
}
|
||||
|
||||
template<typename T>
|
||||
T &CUtlSelfReferencingVector<T>::GetFirst()
|
||||
{
|
||||
return m_pHead->data;
|
||||
}
|
||||
|
||||
template<typename T>
|
||||
T &CUtlSelfReferencingVector<T>::GetLast()
|
||||
{
|
||||
return m_pTail->data;
|
||||
}
|
||||
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user