Counter Strike : Global Offensive Source Code
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.
 
 
 
 
 
 

44 lines
1.0 KiB

//========= Copyright © 1996-2005, Valve Corporation, All rights reserved. ============//
//
// Purpose:
//
//=============================================================================//
#ifndef ENGINEBUGREPORTER_H
#define ENGINEBUGREPORTER_H
#ifdef _WIN32
#pragma once
#endif
namespace vgui
{
class Panel;
};
abstract_class IEngineBugReporter
{
public:
typedef enum
{
BR_AUTOSELECT = 0,
BR_PUBLIC,
BR_INTERNAL,
} BR_TYPE;
virtual void Init( void ) = 0;
virtual void Shutdown( void ) = 0;
virtual void InstallBugReportingUI( vgui::Panel *parent, BR_TYPE type ) = 0;
virtual bool ShouldPause() const = 0;
virtual bool IsVisible() const = 0; //< true iff the bug panel is active and on screen right now
// Methods to get bug count for internal dev work stat tracking.
// Will get the bug count and clear it every map transition
virtual int GetBugSubmissionCount() const = 0;
virtual void ClearBugSubmissionCount() = 0;
};
extern IEngineBugReporter *bugreporter;
#endif // ENGINEBUGREPORTER_H