|
OLD | NEW |
---|---|
(Empty) | |
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | |
2 // Use of this source code is governed by a BSD-style license that can be | |
3 // found in the LICENSE file. | |
4 | |
5 #ifndef CHROME_FRAME_READY_MODE_INTERNAL_INSTALLATION_STATE_H_ | |
6 #define CHROME_FRAME_READY_MODE_INTERNAL_INSTALLATION_STATE_H_ | |
grt (UTC plus 2)
2010/12/11 03:12:06
#pragma once
erikwright (departed)
2010/12/14 16:15:17
Done.
| |
7 | |
8 // Provides an interface to query and manipulate the registration and | |
9 // installation state of the product. | |
10 class InstallationState { | |
11 public: | |
12 virtual ~InstallationState() {} | |
13 | |
14 // Queries the installation state of the product (whether the product appears | |
15 // in "Add/Remove Programs" or its equivalent). | |
16 virtual bool IsProductInstalled() = 0; | |
17 | |
18 // Queries the registration state of the product (whether the COM objects, | |
19 // BHO, etc. are registered). | |
20 virtual bool IsProductRegistered() = 0; | |
21 | |
22 // Installs the product. Returns true iff successful. | |
23 virtual bool InstallProduct() = 0; | |
24 | |
25 // Unregisters the product. Fails if the product is installed. Returns true | |
26 // iff successful. | |
27 virtual bool UnregisterProduct() = 0; | |
28 }; // InstallationState | |
grt (UTC plus 2)
2010/12/11 03:12:06
}; // class InstallationState
erikwright (departed)
2010/12/14 16:15:17
Done.
| |
29 | |
30 #endif // CHROME_FRAME_READY_MODE_INTERNAL_INSTALLATION_STATE_H_ | |
OLD | NEW |