⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 bank_impl.h

📁 用interbus作为中间件的工具模拟银行自动取款机ATM.
💻 H
字号:
// **********************************************************************
//
// 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 + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -