InDesign SDK  20.5
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
ITouchWorkspacePrefs.h
1 //========================================================================================
2 //
3 // $File$
4 //
5 // Owner: Sameer Manuja
6 //
7 // $Author $
8 //
9 // $DateTime $
10 //
11 // $Revision $
12 //
13 // $Change $
14 //
15 // ADOBE CONFIDENTIAL
16 //
17 // Copyright 2015 Adobe Systems Incorporated. All rights reserved.
18 //
19 // NOTICE: All information contained herein is, and remains
20 // the property of Adobe Systems Incorporated and its suppliers,
21 // if any. The intellectual and technical concepts contained
22 // herein are proprietary to Adobe Systems Incorporated and its
23 // suppliers and may be covered by U.S. and Foreign Patents,
24 // patents in process, and are protected by trade secret or copyright law.
25 // Dissemination of this information or reproduction of this material
26 // is strictly forbidden unless prior written permission is obtained
27 // from Adobe Systems Incorporated.
28 //
29 //========================================================================================
30 
31 #ifndef __ITouchWorkspacePrefs__
32 #define __ITouchWorkspacePrefs__
33 
34 #include "IPMUnknown.h"
35 #include "AppUIID.h"
36 
37 //________________________________________________________________________________________
38 // CLASS DECLARATIONS
39 //_________________________________________________________________________________
40 
42 {
43 public:
44  enum { kDefaultIID = IID_ITOUCHWORKSPACEPREFS };
45 
46  // Get preference whether to automatically switch to Touch Workspace when kayboard is detached
47  virtual bool16 GetSwitchOnKeyboardDetach() = 0;
48 
49  // Set preference whether to automatically switch to Touch Workspace when kayboard is detached
50  virtual void SetSwitchOnKeyboardDetach(bool16 state) = 0;
51 
52  //internal use only
53  virtual bool16 GetSwitchToTWSAlertShownOnFirstLaunch() = 0;
54  virtual void SetSwitchToTWSAlertShownOnFirstLaunch(bool16 state) = 0;
55 };
56 
57 #endif // __ITouchWorkspacePrefs__