/* * Copyright 2009-2011, Pier Luigi Fiorini. All rights reserved. * Distributed under the terms of the MIT License. */ #ifndef _CAYA_UTILS_H #define _CAYA_UTILS_H #include #include #include #include #include "CayaConstants.h" const char* CayaStatusToString(CayaStatus status); BResources* CayaResources(); const char* CayaAccountsPath(); const char* CayaAccountPath(const char* signature); const char* CayaAccountPath(const char* signature, const char* subsignature); const char* CayaCachePath(); const char* CayaLogPath(const char* signature, const char* subsignature); // Will return a tinted color― light or dark― based on brightness. rgb_color CayaTintColor(rgb_color color, int severity); extern "C" status_t our_image(image_info& image); #endif // _CAYA_UTILS_H