counter.ice
来自「ICE-3.2 一个开源的中间件」· ICE 代码 · 共 32 行
ICE
32 行
// **********************************************************************//// Copyright (c) 2003-2007 ZeroC, Inc. All rights reserved.//// This copy of Ice is licensed to you under the terms described in the// ICE_LICENSE file included in this distribution.//// **********************************************************************#ifndef COUNTER_ICE#define COUNTER_ICEmodule Demo{interface CounterObserver{ void init(int value); void inc(int value);};interface Counter{ void subscribe(CounterObserver* observer); void unsubscribe(CounterObserver* observer); void inc(int value);};};#endif
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?