| Server IP : 209.209.40.120 / Your IP : 216.73.217.112 Web Server : Microsoft-IIS/10.0 System : Windows NT NEWWWW 10.0 build 17763 (Windows Server 2019) i586 User : NEWWWW$ ( 0) PHP Version : 8.3.30 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : C:/Program Files/SMSC client .NET/samples/cbuilder/SMPP/ |
Upload File : |
//------------------------------------------------------------------------------
// SMSC Relay components SMPP sample application
//
// $Header: $
// Copyright (c) 2003-2013 Tops. All rights reserved.
//------------------------------------------------------------------------------
#ifndef MainH
#define MainH
//---------------------------------------------------------------------------
#include <Classes.hpp>
#include <Controls.hpp>
#include <StdCtrls.hpp>
#include <Forms.hpp>
#include <ExtCtrls.hpp>
#include <Graphics.hpp>
//---------------------------------------------------------------------------
#include "EventLog.h"
#include "smscc_OCX.h"
#include <OleServer.hpp>
#include "smscc_TLB.h"
class TfmMain : public TForm
{
__published: // IDE-managed Components
TLabel *Label1;
TLabel *Label2;
TShape *Shape1;
TLabel *Label3;
TLabel *Label8;
TShape *Shape2;
TLabel *Label6;
TLabel *Label7;
TLabel *Label16;
TLabel *Label15;
TShape *Shape3;
TLabel *Label17;
TLabel *Label9;
TLabel *Label10;
TLabel *Label4;
TLabel *Label5;
TLabel *Label12;
TLabel *Label13;
TLabel *Label11;
TLabel *Label14;
TEdit *eHost;
TEdit *ePort;
TButton *bConnect;
TButton *bDisconnect;
TEdit *eSystemID;
TEdit *ePassword;
TButton *bInitialize;
TButton *bSubmit;
TEdit *eDestination;
TMemo *mSubmit;
TMemo *mUDH;
TComboBox *cEncoding;
TCheckBox *cbStatusReport;
TCheckBox *cbDirectDisplay;
TMemo *mLog;
TEdit *eOriginator;
TEdit *eSystemType;
TEdit *eTON;
TEdit *eNPI;
TEdit *eOrigTON;
TEdit *eOrigNPI;
TEdit *eDestTON;
TEdit *eDestNPI;
TSMSCclientSMPP *SMSCclientSMPP1;
TSMSCencoder *SMSCencoder1;
void __fastcall FormCreate(TObject *Sender);
void __fastcall FormDestroy(TObject *Sender);
void __fastcall bConnectClick(TObject *Sender);
void __fastcall bDisconnectClick(TObject *Sender);
void __fastcall bInitializeClick(TObject *Sender);
void __fastcall bSubmitClick(TObject *Sender);
void __fastcall SMSCclientSMPP1SmppMessageReceived(TObject *Sender, Variant sender,
ISmppMessageReceivedEventArgs *e);
void __fastcall SMSCclientSMPP1SmppStatusReportReceived(TObject *Sender, Variant sender,
ISmppStatusReportReceivedEventArgs *e);
void __fastcall SMSCclientSMPP1TcpDisconnected(TObject *Sender, Variant sender,
ITcpDisconnectedEventArgs *e);
private:
TEventLog *FLog;
public:
__fastcall TfmMain(TComponent* Owner);
};
//---------------------------------------------------------------------------
extern PACKAGE TfmMain *fmMain;
//---------------------------------------------------------------------------
#endif