OLD | NEW |
---|---|
(Empty) | |
1 // Copyright 2015 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 CHROMECAST_PUBLIC_CAST_SYS_INFO_SHLIB_H_ | |
6 #define CHROMECAST_PUBLIC_CAST_SYS_INFO_SHLIB_H_ | |
7 | |
8 #include <string> | |
9 #include <vector> | |
10 | |
11 #include "chromecast_export.h" | |
12 | |
13 namespace chromecast { | |
14 | |
15 class CastSysInfo; | |
16 | |
17 // Defines a static function in a class since gcc makes warning if visibility | |
gunsch
2015/04/20 22:34:49
Still: this is not really a good definition of thi
byungchul
2015/04/20 23:51:14
Agree that this is not a comment to define this. B
derekjchow1
2015/04/21 21:48:34
Done.
| |
18 // attribute is set on global functions. | |
19 class CHROMECAST_EXPORT CastSysInfoShlib { | |
20 public: | |
21 // Returns a instance of CastSysInfo for the platform from a shared library. | |
22 // Caller will take ownership of returned pointer. | |
23 static CastSysInfo* Create(const std::vector<std::string>& argv); | |
24 }; | |
25 | |
26 } // namespace chromecast | |
27 | |
28 #endif // CHROMECAST_PUBLIC_CAST_SYS_INFO_SHLIB_H_ | |
OLD | NEW |