Wexus2 0.20
wexus2.src/blogapp/PostsController.h
00001 
00002 /*
00003  * Copyright (c) 2011 Aleksander B. Demko
00004  * This source code is distributed under the MIT license.
00005  * See the accompanying file LICENSE.MIT.txt for details.
00006  */
00007 
00008 #ifndef __INCLUDED_BLOGAPP_POSTSCONTROLLER_H__
00009 #define __INCLUDED_BLOGAPP_POSTSCONTROLLER_H__
00010 
00011 #include <wexus/Controller.h>
00012 #include <wexus/MarkDown.h>
00013 
00014 #include <blogapp/Post.h>
00015 
00016 namespace blogapp
00017 {
00018   class PostsController;
00019 }
00020 
00021 class blogapp::PostsController : public wexus::Controller
00022 {
00023   public:
00024     void index(void);
00025     void indexHtml(void);
00026 
00027     void show(void);
00028     void showHtml(void);
00029 
00030   protected:
00031     Post dm_post;
00032 };
00033 
00034 #endif
00035 
 All Classes Namespaces Functions Variables Enumerations Enumerator