-
Notifications
You must be signed in to change notification settings - Fork 18
/
Copy pathPerfLogUnit.h
33 lines (32 loc) · 1.28 KB
/
PerfLogUnit.h
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
//---------------------------------------------------------------------------
#ifndef PerfLogUnitH
#define PerfLogUnitH
//---------------------------------------------------------------------------
#include <System.Classes.hpp>
#include <Vcl.Controls.hpp>
#include <Vcl.StdCtrls.hpp>
#include <Vcl.Forms.hpp>
#include <Vcl.ExtCtrls.hpp>
#include <windows.h> //needed for 64 bit compilation
//---------------------------------------------------------------------------
class TPerfLogForm : public TForm
{
__published: // IDE-managed Components
TMemo *PerformanceLogBox;
void __fastcall FormCreate(TObject *Sender);
void __fastcall FormResize(TObject *Sender);
///< the performance log displayed during operation
private: // User declarations
public: // User declarations
//variables
///< true when the 'show performance panel' button has been clicked during operation
//functions
__fastcall TPerfLogForm(TComponent* Owner);
///<constructor
void PerformanceLog(int Caller, AnsiString Statement);
///< Send Statement to the performance log on screen and to the file
};
//---------------------------------------------------------------------------
extern PACKAGE TPerfLogForm *PerfLogForm;
//---------------------------------------------------------------------------
#endif