-
Notifications
You must be signed in to change notification settings - Fork 8
/
Unit1.h
40 lines (35 loc) · 1.43 KB
/
Unit1.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
34
35
36
37
38
39
40
//---------------------------------------------------------------------------
#ifndef Unit1H
#define Unit1H
//---------------------------------------------------------------------------
#include <System.Classes.hpp>
#include <FMX.Controls.hpp>
#include <FMX.Forms.hpp>
#include <FMX.Controls.Presentation.hpp>
#include <FMX.Memo.hpp>
#include <FMX.ScrollBox.hpp>
#include <FMX.StdCtrls.hpp>
#include <FMX.Types.hpp>
#include <DW.PushClient.hpp>
//---------------------------------------------------------------------------
class TForm1 : public TForm
{
__published: // IDE-managed Components
TMemo *Memo1;
TButton *ResendRequestBut;
TButton *TestInternet;
void __fastcall ResendRequestButClick(TObject *Sender);
void __fastcall FormCreate(TObject *Sender);
void __fastcall TestInternetClick(TObject *Sender);
private: // User declarations
TPushClient * FPushClient;
void __fastcall OnReceiveNotificationEvent(TObject *Sender, TPushServiceNotification * const ANotification);
void __fastcall OnServiceConnectionChange(TObject *Sender, TPushService::TChanges AChange);
public: // User declarations
__fastcall TForm1(TComponent* Owner);
};
//---------------------------------------------------------------------------
extern PACKAGE TForm1 *Form1;
//---------------------------------------------------------------------------
int ConvertUnicodeToChar (UnicodeString InputUnicode, char * CharString);
#endif