1234567891011121314151617181920212223242526272829303132333435 |
- #ifndef SYSTEM_TOOLS_SYSPROP_COMMON_H_
- #define SYSTEM_TOOLS_SYSPROP_COMMON_H_
- #include <string>
- #include "sysprop.pb.h"
- inline static constexpr const char* kGeneratedFileFooterComments =
- "// Generated by the sysprop generator. DO NOT EDIT!\n\n";
- std::string ApiNameToIdentifier(const std::string& name);
- bool CreateDirectories(const std::string& path);
- std::string GetModuleName(const sysprop::Properties& props);
- bool IsDirectory(const std::string& path);
- bool IsListProp(const sysprop::Property& prop);
- bool ParseProps(const std::string& file_path, sysprop::Properties* props,
- std::string* err);
- std::string ToUpper(std::string str);
- #endif
|