1cdf0e10cSrcweir /*****************************************************************************
2cdf0e10cSrcweir  * RemoteMainController.h
3cdf0e10cSrcweir  *
4cdf0e10cSrcweir  *
5cdf0e10cSrcweir  * Created by Martin Kahr on 11.03.06 under a MIT-style license.
6cdf0e10cSrcweir  * Copyright (c) 2006 martinkahr.com. All rights reserved.
7cdf0e10cSrcweir  *
8cdf0e10cSrcweir  * Code modified and adapted to OpenOffice.org
9cdf0e10cSrcweir  * by Eric Bachard on 11.08.2008 under the same License
10cdf0e10cSrcweir  *
11cdf0e10cSrcweir  * Permission is hereby granted, free of charge, to any person obtaining a
12cdf0e10cSrcweir  * copy of this software and associated documentation files (the "Software"),
13cdf0e10cSrcweir  * to deal in the Software without restriction, including without limitation
14cdf0e10cSrcweir  * the rights to use, copy, modify, merge, publish, distribute, sublicense,
15cdf0e10cSrcweir  * and/or sell copies of the Software, and to permit persons to whom the
16cdf0e10cSrcweir  * Software is furnished to do so, subject to the following conditions:
17cdf0e10cSrcweir  *
18cdf0e10cSrcweir  * The above copyright notice and this permission notice shall be included
19cdf0e10cSrcweir  * in all copies or substantial portions of the Software.
20cdf0e10cSrcweir  *
21cdf0e10cSrcweir  * THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
22cdf0e10cSrcweir  * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
23cdf0e10cSrcweir  * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
24cdf0e10cSrcweir  * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
25cdf0e10cSrcweir  * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
26cdf0e10cSrcweir  * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
27cdf0e10cSrcweir  * THE SOFTWARE.
28cdf0e10cSrcweir  *
29cdf0e10cSrcweir  *****************************************************************************/
30cdf0e10cSrcweir 
31cdf0e10cSrcweir #import <Cocoa/Cocoa.h>
32cdf0e10cSrcweir 
33cdf0e10cSrcweir #define AppleRemoteControlEvent 15
34cdf0e10cSrcweir 
35cdf0e10cSrcweir @class RemoteControl;
36cdf0e10cSrcweir @class MultiClickRemoteBehavior;
37cdf0e10cSrcweir 
38cdf0e10cSrcweir //static void sendTheEvent( unichar, int );
39cdf0e10cSrcweir 
40*dbfe0a54SHerbert Dürr @interface AppleRemoteMainController : NSObject {
41cdf0e10cSrcweir @public // else remoteControl is not reachable from GetSalData()->mpMainController
42cdf0e10cSrcweir 	RemoteControl* remoteControl;
43cdf0e10cSrcweir @private
44cdf0e10cSrcweir 	MultiClickRemoteBehavior* remoteControlBehavior;
45cdf0e10cSrcweir }
remoteControl()46cdf0e10cSrcweir - (RemoteControl*) remoteControl;
remoteBehavior()47cdf0e10cSrcweir - (MultiClickRemoteBehavior*) remoteBehavior;
48cdf0e10cSrcweir 
49cdf0e10cSrcweir @end
50