KeePass   KeePass Help Center Home KeePass Home | Package Downloads | Flag Translations | Blocks Plugins | Donate Donate  
Home Help Center Home | People Forums | Award Awards | Link Links  







IKpCommandLine.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2008-2018 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 ___IKPCOMMANDLINE_H___
31 #define ___IKPCOMMANDLINE_H___
32 
33 #pragma once
34 
35 #include "../../SysDefEx.h"
36 #include "IKpUnknown.h"
37 
38 #pragma pack(1)
39 
43 struct KP_DECL_INTERFACE("0934C282-6EDC-4073-913F-28B98C0420F8") IKpCommandLine :
44  public IKpUnknown
45 {
46 public:
49  STDMETHOD_(LPCTSTR, GetFullCommandLine)() = 0;
50 
54  STDMETHOD_(LPCTSTR, GetExecutablePath)() = 0;
55 
62  STDMETHOD_(LPCTSTR, GetOption)(LPCTSTR lpName) = 0;
63 
76  STDMETHOD_(LPCTSTR, GetMultiOption)(LPCTSTR lpName, DWORD dwRelIndex) = 0;
77 
86  STDMETHOD_(LPCTSTR, GetToken)(DWORD dwIndex) = 0;
87 
101  STDMETHOD_(LPCTSTR, GetTokenRel)(LPCTSTR lpName, DWORD dwRelIndex) = 0;
102 
107  STDMETHOD_(LPCTSTR, GetFilePath)() = 0;
108 
112  STDMETHOD_(LPCTSTR, GetPassword)() = 0;
113 
117  STDMETHOD_(LPCTSTR, GetKeyFilePath)() = 0;
118 
121  STDMETHOD_(BOOL, IsPreselectEnabled)() = 0;
122 
125  STDMETHOD_(BOOL, IsReadOnlyEnabled)() = 0;
126 
128  STDMETHOD_(BOOL, ArgumentBeginsWithPrefix)(LPCTSTR lpArgument) = 0;
129 };
130 
131 #pragma pack()
132 
133 #endif // ___IKPCOMMANDLINE_H___
Base interface from which all other interfaces must derive.
Definition: IKpUnknown.h:41
Interface to a command line handling object.
Definition: IKpCommandLine.h:43



Documentation generated with Doxygen.




Valid XHTML 1.0 Transitional Document

Get KeePass


Copyright © 2003-2018 Dominik Reichl, [Legal Contact / Imprint] [Terms & Privacy] [Acknowledgements] [Donate]