summaryrefslogtreecommitdiff
path: root/vgui2/src/vgui_internal.h
blob: 65d2bfb5229cbe4aaa1b6d4526ef0307f9a38209 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
//========= Copyright Valve Corporation, All rights reserved. ============//
//
// Purpose: Wraps pointers to basic vgui interfaces
//
// $NoKeywords: $
//===========================================================================//

#ifndef VGUI_INTERNAL_H
#define VGUI_INTERNAL_H

#ifdef _WIN32
#pragma once
#endif

#include <vgui/VGUI.h>
#include "interface.h"
#include "tier3/tier3.h"
#include "xbox/xboxstubs.h"

namespace vgui
{

bool VGui_InternalLoadInterfaces( CreateInterfaceFn *factoryList, int numFactories );

// <vgui/IInputInternal.h> header
extern class IInputInternal *g_pInput;

// <vgui/IScheme.h> header
extern class ISchemeManager *g_pScheme;

// <vgui/ISurface.h> header
extern class ISurface *g_pSurface;

// <vgui/ISystem.h> header
extern class ISystem *g_pSystem;

// <vgui/IVGui.h> header
extern class IVGui *g_pIVgui;

// <vgui/IPanel.h> header
extern class IPanel *g_pIPanel;

// methods
void vgui_strcpy(char *dst, int dstLen, const char *src);
} // namespace vgui




#endif // VGUI_INTERNAL_H