OLD | NEW |
---|---|
(Empty) | |
1 // Copyright 2013 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 GCP20_PROTOTYPE_PRINTER_H_ | |
6 #define GCP20_PROTOTYPE_PRINTER_H_ | |
7 | |
8 #include "cloud_print/gcp20/prototype/dns_sd_server.h" | |
9 #include "cloud_print/gcp20/prototype/privet_dns_response_builder.h" | |
10 | |
11 // This class will maintain work of DNS-SD server, HTTP server and others. | |
12 class Printer { | |
13 public: | |
14 // Constructs uninitialized object. | |
15 Printer(); | |
16 | |
17 // Destroys the object. | |
18 ~Printer(); | |
19 | |
20 // Starts all servers. | |
21 bool Start(); | |
22 | |
23 // Stops all servers. | |
24 void Stop(); | |
25 private: | |
Vitaly Buka (NO REVIEWS)
2013/06/14 19:27:07
Empty line before private:
maksymb
2013/06/14 22:17:14
Done.
| |
26 // Contains |true| if initialized. | |
27 bool initialized_; | |
28 | |
29 // Contains DNS-SD server. | |
30 DnsSdServer dns_server_; | |
31 }; | |
32 | |
33 #endif // GCP20_PROTOTYPE_PRINTER_H_ | |
34 | |
OLD | NEW |