代码搜索结果
找到约 10,000 项符合
Interface 的代码
interface.c
/*
* DO NOT EDIT THIS FILE - it is generated by Glade.
*/
#include
#include
#include
#include
#include
#include
interface.cpp
#include "interface.h"
#include "unistd.h"
using namespace std;
Interface::Interface() {
client = NULL;
passive = false;
}
void Interface::start() {
while(true) {
cout
interface.h
#ifndef INTERFACE_H_
#define INTERFACE_H_
#include
#include "client.h"
class Interface {
public:
Interface();
void start();
private:
bool logon(const std::string& url);
interface.h
/*
* author: wide288
* copyleft
* for you YangQi and my mom Happy every day!
*/
GtkWidget* create_window1 (void);
interface.c
/*
* author: wide288
* copyleft
* for you YangQi and my mom Happy every day!
*/
/*#ifdef HAVE_CONFIG_H
# include
#endif
*/
#include
#include
#include
interface.h
// interface.h
struct IMotion : public IUnknown
{
STDMETHOD_(void, Fly) () = 0;
STDMETHOD_(int&, GetPosition) () = 0;
};
struct IVisual : public IUnknown
{
STDMETHOD_(void, D
interface.h
// interface.h
struct IMotion : public IUnknown
{
STDMETHOD_(void, Fly) () = 0;
STDMETHOD_(int&, GetPosition) () = 0;
};
struct IVisual : public IUnknown
{
STDMETHOD_(void, D
interface.h
// interface.h
// definitions that make our code look like MFC code
#define BOOL int
#define DWORD unsigned int
#define TRUE 1
#define FALSE 0
#define TRACE printf
#define ASSERT asser
interface.cpp
/******************************************************************************************************************
interface.h
#ifndef _INTERFACE_H
#define _INTERFACE_H
class CInterface
{
public:
CInterface();
~CInterface();
public:
//~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~