#ifndef _LC_CATEGORY_H_ #define _LC_CATEGORY_H_ #include "str.h" #include "lc_array.h" struct lcLibraryCategory { String Name; String Keywords; }; extern lcArray gCategories; void lcResetDefaultCategories(); void lcLoadDefaultCategories(bool BuiltInLibrary = false); void lcSaveDefaultCategories(); void lcResetCategories(lcArray& Categories, bool BuiltInLibrary = false); bool lcLoadCategories(const char* FileName, lcArray& Categories); bool lcLoadCategories(lcFile& File, lcArray& Categories); bool lcSaveCategories(const char* FileName, const lcArray& Categories); bool lcSaveCategories(lcFile& File, const lcArray& Categories); #endif // _LC_CATEGORY_H_