API  0.9.10
CPPlatform.j
Go to the documentation of this file.
1 /*
2  * CPPlatform.j
3  * AppKit
4  *
5  * Created by Francisco Tolmasky.
6  * Copyright 2010, 280 North, Inc.
7  *
8  * This library is free software; you can redistribute it and/or
9  * modify it under the terms of the GNU Lesser General Public
10  * License as published by the Free Software Foundation; either
11  * version 2.1 of the License, or (at your option) any later version.
12  *
13  * This library is distributed in the hope that it will be useful,
14  * but WITHOUT ANY WARRANTY; without even the implied warranty of
15  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
16  * Lesser General Public License for more details.
17  *
18  * You should have received a copy of the GNU Lesser General Public
19  * License along with this library; if not, write to the Free Software
20  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
21  */
22 @implementation CPBasePlatform : CPObject
23 {
24  id __doxygen__;
25 }
26 
27 + (void)bootstrap
28 {
31 }
32 
33 + (BOOL)isBrowser
34 {
35  return NO;
36 }
37 
39 {
40  return NO;
41 }
42 
44 {
45  return NO;
46 }
47 
49 {
50 }
51 
52 + (void)activateIgnoringOtherApps:(BOOL)shouldIgnoreOtherApps
53 {
54 }
55 
56 + (void)deactivate
57 {
58 }
59 
60 + (void)hideOtherApplications:(id)aSender
61 {
62 }
63 
64 + (void)hide:(id)aSender
65 {
66 }
67 
68 @end
69 
70 #if PLATFORM(DOM)
71 #include "DOM/CPPlatform.j"
72 #else
73 @implementation CPPlatform : CPBasePlatform
74 {
75  id __doxygen__;
76 }
77 @end
78 #endif
BOOL supportsNativeMainMenu()
Definition: CPPlatform.j:43
BOOL supportsDragAndDrop()
Definition: CPPlatform.j:38
void bootstrap()
Definition: CPPlatform.j:27
void deactivate()
Definition: CPPlatform.j:56
void setPrimaryPlatformWindow:(CPPlatformWindow aPlatformWindow)
void terminateApplication()
Definition: CPPlatform.j:48
BOOL isBrowser()
Definition: CPPlatform.j:33
id alloc()
Definition: CPObject.j:130