cover.c File Reference

Handles cover art. More...

#include <sys/types.h>
#include <sys/stat.h>
#include <time.h>
#include <unistd.h>
#include <rfb/rfb.h>
#include "cover.h"

Include dependency graph for cover.c:


Defines

#define COVER_JPG   "/tmp/currcover.jpg"
#define COVER_PNG   "/tmp/currcover.png"

Functions

int cover_check (struct img_bitmap **cover)

Detailed Description

Checks for cover art files in the appropriate directory and reads them.

Define Documentation

#define COVER_JPG   "/tmp/currcover.jpg"

Path of cover art in JPG format.

#define COVER_PNG   "/tmp/currcover.png"

Path of cover art in PNG format.


Function Documentation

int cover_check ( struct img_bitmap **  cover  ) 

Checks for cover art in the appropriate directory.

If new cover art is avialable it is stored in the given img_bitmap structure.

Parameters:
cover bitmap data (return value)
Returns:
possible return values:
COVER_OLD, COVER_NONE, COVER_NEW, COVER_ERR


Generated on Mon Mar 29 01:39:27 2010 for Veronica by  doxygen 1.5.8