Chromium Code Reviews| Index: chromecast/public/cast_sys_info_shlib.h |
| diff --git a/chromecast/public/cast_sys_info_shlib.h b/chromecast/public/cast_sys_info_shlib.h |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..61d44936549c9647e9844558970d68c27cc159ed |
| --- /dev/null |
| +++ b/chromecast/public/cast_sys_info_shlib.h |
| @@ -0,0 +1,28 @@ |
| +// Copyright 2015 The Chromium Authors. All rights reserved. |
| +// Use of this source code is governed by a BSD-style license that can be |
| +// found in the LICENSE file. |
| + |
| +#ifndef CHROMECAST_PUBLIC_CAST_SYS_INFO_SHLIB_H_ |
| +#define CHROMECAST_PUBLIC_CAST_SYS_INFO_SHLIB_H_ |
| + |
| +#include <string> |
| +#include <vector> |
| + |
| +#include "chromecast_export.h" |
| + |
| +namespace chromecast { |
| + |
| +class CastSysInfo; |
| + |
| +// 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.
|
| +// attribute is set on global functions. |
| +class CHROMECAST_EXPORT CastSysInfoShlib { |
| + public: |
| + // Returns a instance of CastSysInfo for the platform from a shared library. |
| + // Caller will take ownership of returned pointer. |
| + static CastSysInfo* Create(const std::vector<std::string>& argv); |
| +}; |
| + |
| +} // namespace chromecast |
| + |
| +#endif // CHROMECAST_PUBLIC_CAST_SYS_INFO_SHLIB_H_ |