Modify tizen coding style
[platform/core/dotnet/launcher.git] / NativeLauncher / inc / utils.h
old mode 100755 (executable)
new mode 100644 (file)
index 59774cb..034b7f3
 #define PATH_SEPARATOR '/'
 #endif
 
-bool ICompare(const std::string& a, const std::string& b);
-bool ICompare(const std::string& a, int a_offset, const std::string& b, int b_offset, int length);
-bool IsManagedAssembly(const std::string& filename);
-bool IsNativeImage(const std::string& filename);
-std::string ReadSelfPath ();
-std::string ConcatPath (const std::string& path1, const std::string& path2);
-void AppendPath (std::string& path1, const std::string& path2);
-std::string AbsolutePath (const std::string& path);
-std::string Basename (const std::string& path);
-bool EndWithIgnoreCase (const std::string& str1, const std::string& str2, std::string& filename);
-void AssembliesInDirectory(const std::vector<std::string>& directories, std::string& tpaList);
+bool iCompare(const std::string& a, const std::string& b);
+bool iCompare(const std::string& a, int aOffset, const std::string& b, int bOffset, int length);
+bool isManagedAssembly(const std::string& fileName);
+bool isNativeImage(const std::string& fileName);
+std::string readSelfPath();
+std::string concatPath(const std::string& path1, const std::string& path2);
+void appendPath(std::string& path1, const std::string& path2);
+std::string absolutePath(const std::string& path);
+std::string baseName(const std::string& path);
+bool endWithIgnoreCase(const std::string& str1, const std::string& str2, std::string& fileName);
+void assembliesInDirectory(const std::vector<std::string>& directories, std::string& tpaList);
 
-bool FileNotExist(const std::string& path);
-std::string JoinStrings(const std::vector<std::string>& strings, const char* const delimeter);
+bool fileNotExist(const std::string& path);
+std::string joinStrings(const std::vector<std::string>& strings, const char* const delimeter);
 
 typedef std::function<void (const char*, const char*)> FileReader;
-void ScanFilesInDir(const char* directory, FileReader reader, unsigned int depth);
-#endif  // __UTILS_H__
+void scanFilesInDir(const char* directory, FileReader reader, unsigned int depth);
+#endif /* __UTILS_H__ */