bank_impl.h
来自「用interbus作为中间件的工具模拟银行自动取款机ATM.」· C头文件 代码 · 共 80 行
H
80 行
// **********************************************************************
//
// Copyright (c) 2000
// Intervision Software Co., Ltd.
// Haidian District, Beijing.
//
// All Rights Reserved
//
// **********************************************************************
#ifndef ___bank_impl_h__
#define ___bank_impl_h__
#include <bank_skel.h>
#include "BankServerDlg.h"
//
// Interface declare ::BankAccount
//
class BankAccount_impl : virtual public POA_BankAccount,
virtual public PortableServer::RefCountServantBase
{
BankAccount_impl(const BankAccount_impl&);
void operator=(const BankAccount_impl&);
// PortableServer::POA_var poa_;
CBankServerDlg* m_pDlg;
CString m_strID;
public:
//BankAccount_impl(PortableServer::POA_ptr);
BankAccount_impl();
~BankAccount_impl();
//
// Operation declare log
//
virtual CORBA::Boolean log(const char* id)
throw(CORBA::SystemException);
//
// Operation declare authentificate
//
virtual CORBA::Boolean authentificate(const char* password)
throw(CORBA::SystemException);
//
// Operation declare requery
//
virtual CORBA::Double requery()
throw(CORBA::SystemException);
//
// Operation declare withdraw
//
virtual CORBA::Boolean withdraw(CORBA::Short nMoney)
throw(CORBA::SystemException);
//
// Operation declare deposit
//
virtual CORBA::Boolean deposit(CORBA::Short nMoney)
throw(CORBA::SystemException);
//
// Operation declare alterPAW
//
virtual CORBA::Boolean alterPAW(const char* strPAW)
throw(CORBA::SystemException);
void setDlg(CBankServerDlg* pdlg);
};
#endif
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?