Chat-O-Matic/application/CayaUtils.h

35 lines
838 B
C
Raw Normal View History

/*
2011-12-03 16:38:03 -06:00
* 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 <image.h>
#include <GraphicsDefs.h>
#include <Mime.h>
#include <Resources.h>
#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