You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
51 lines
1.3 KiB
51 lines
1.3 KiB
//=========== (C) Copyright 1999 Valve, L.L.C. All rights reserved. ===========
|
|
//
|
|
// The copyright to the contents herein is the property of Valve, L.L.C.
|
|
// The contents may be used and/or copied only with the written permission of
|
|
// Valve, L.L.C., or in accordance with the terms and conditions stipulated in
|
|
// the agreement/contract under which the contents have been supplied.
|
|
//
|
|
// $Header: $
|
|
// $NoKeywords: $
|
|
//
|
|
// Material editor
|
|
//=============================================================================
|
|
|
|
#ifndef VGUIMATSYSAPP_H
|
|
#define VGUIMATSYSAPP_H
|
|
|
|
#ifdef _WIN32
|
|
#pragma once
|
|
#endif
|
|
|
|
|
|
#include "appframework/matsysapp.h"
|
|
|
|
FORWARD_DECLARE_HANDLE( InputContextHandle_t );
|
|
|
|
//-----------------------------------------------------------------------------
|
|
// The application object
|
|
//-----------------------------------------------------------------------------
|
|
class CVguiMatSysApp : public CMatSysApp
|
|
{
|
|
typedef CMatSysApp BaseClass;
|
|
|
|
public:
|
|
CVguiMatSysApp();
|
|
|
|
// Methods of IApplication
|
|
virtual bool Create();
|
|
virtual bool PreInit();
|
|
virtual bool PostInit();
|
|
virtual void PreShutdown();
|
|
virtual void PostShutdown();
|
|
virtual void Destroy();
|
|
|
|
InputContextHandle_t GetAppInputContext();
|
|
|
|
private:
|
|
InputContextHandle_t m_hAppInputContext;
|
|
};
|
|
|
|
|
|
#endif // VGUIMATSYSAPP_H
|