KeePass Help Center KeePass Home | Downloads | Translations | Plugins | Donate 
Help Center Home | Forums | Awards | Links 







IKpAPI3.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2008-2024 Dominik Reichl
3  All rights reserved.
4 
5  Redistribution and use in source and binary forms, with or without
6  modification, are permitted provided that the following conditions
7  are met:
8 
9  * Redistributions of source code must retain the above copyright
10  notice, this list of conditions and the following disclaimer.
11  * Redistributions in binary form must reproduce the above copyright
12  notice, this list of conditions and the following disclaimer in
13  the documentation and/or other materials provided with the
14  distribution.
15 
16  THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
17  "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
18  LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
19  FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
20  COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
21  INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
22  BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
23  LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
24  CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
25  LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
26  ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
27  POSSIBILITY OF SUCH DAMAGE.
28 */
29 
30 #ifndef ___IKPAPI3_H___
31 #define ___IKPAPI3_H___
32 
33 #pragma once
34 
35 #include "../../SysDefEx.h"
36 #include "IKpUnknown.h"
37 #include "../../PwStructs.h"
38 #include "IKpAPI2.h"
39 
40 #pragma pack(1)
41 
44 struct KP_DECL_INTERFACE("25BA9CB9-DE60-4076-AAD9-ABC74663A872") IKpAPI3 :
45  public IKpAPI2
46 {
47 public:
49  STDMETHOD_(BOOL, IsFileLocked)() = 0;
50 
52  STDMETHOD(LockFile)(BOOL bLock) = 0;
53 
54  STDMETHOD_(BOOL, IsFileReadOnly)() = 0;
55 
56  STDMETHOD(NotifyUserActivity)() = 0;
57 
58  STDMETHOD(ParseAndOpenUrlWithEntryInfo)(LPCTSTR lpUrl, PW_ENTRY* pEntry) = 0;
59 
60  STDMETHOD_(BOOL, CanSort)() = 0;
61  STDMETHOD(SortListIfAutoSort)() = 0;
62  STDMETHOD(SortList)(DWORD dwByField, BOOL bAutoSortCall) = 0;
63 
64  STDMETHOD(EntryListSaveView)() = 0;
65  STDMETHOD(EntryListRestoreView)() = 0;
66 
67  STDMETHOD(GroupTreeSaveView)(BOOL bSaveSelection) = 0;
68  STDMETHOD(GroupTreeRestoreView)() = 0;
69 
70  STDMETHOD_(BOOL, RemoveSearchGroup)() = 0;
71 
72  STDMETHOD(UpdateTitleBar)() = 0;
73  STDMETHOD(UpdateTrayIcon)() = 0;
74 
77  STDMETHOD(UpdateGuiToManager)() = 0;
78 
79  STDMETHOD(UpdateCachedGroupIDs)() = 0;
80 
81  STDMETHOD_(BOOL, IsUnsafeAllowed)(HWND hWndParent) = 0;
82 
83  STDMETHOD(Find)(DWORD dwFindGroupId) = 0;
84  STDMETHOD(QuickFind)(LPCTSTR lpText) = 0;
85 
86  STDMETHOD(ShowToolBar)(BOOL bShow) = 0;
87 
88  STDMETHOD_(UINT, GetControlMessageID)() = 0;
89 
90  STDMETHOD_(BOOL, IsInMiniMode)() = 0;
91 };
92 
93 #pragma pack()
94 
95 #endif // ___IKPAPI3_H___
KeePass API for plugins, provides access to all objects in KeePass (singletons, instantiable objects,...
Definition: IKpAPI3.h:44
KeePass API for plugins, provides access to all objects in KeePass (singletons, instantiable objects,...
Definition: IKpAPI2.h:44

Documentation generated with Doxygen.





Get KeePass