/***************************************************************************
                        mayeco_blog.h  -  website definition
copyright            : (C) 2007 by Mario Young
email                : info@mayeco.org
***************************************************************************/

/***************************************************************************
 *                                                                         *
 *   This program is free software; you can redistribute it and/or modify  *
 *   it under the terms of the GNU General Public License as published by  *
 *   the Free Software Foundation; either version 2 of the License, or     *
 *   (at your option) any later version.                                   *
 *                                                                         *
 ***************************************************************************/

#include "config.h"


namespace mayeco {

        /**
        * Get the home page
        **/
        void GetHome();

        /**
        * Print a post
        *
        *
        * @param str Post name
        *
        **/
        void getPostByName(string str);

        /**
        * Print the archive
        *
        * @param str Data, Author archive
        **/
        void getArchive(string str);

        /**
        * Print the page with the name "string", same as getPostByName
        *
        *
        * @param str page name
        *
        **/
        void getPageByName(string str);

        /**
        * Print the post tagged with str
        *
        * @param str tag
        **/
        void getPostByTag(string str);

    class Post{

        /**
        * Prina a comment
        *
        * @param n Post ID
        **/
        void getCommentByID( int n );


    }

};

/**
* Print all page
*
**/
void getPages();

/**
* Print a Tag Cloud
*
**/
void getTagsCloud();

/**
* Print all the archives
*
**/
void getArchive();

/**
* Print recent post
*
* @param n number of recent post to print
**/
void getRecentPost( int n);

/**
* Print recent comments
*
* @param n number of recent comments to print
**/
void getRecentComments( int n );

/**
* Print the RSS links
*
* @param n RSS version
**/
void getRSSLinks( float n );

/**
* Print the LastFM last Albums
*
* @param n number of albums
* @param str week, month, year
**/
void getLastFM( int n, string t);

/**
* Print random images from picasa web
*
* @param n number of images
**/
void getPicasaWeb( int n );

/**
* Print search form
*
**/
void getSearchForm();
