Changed LICENSE. Now referenced to web site and file on project root directory
[anna.git] / include / anna / http / Version.hpp
1 // ANNA - Anna is Not Nothingness Anymore                                                         //
2 //                                                                                                //
3 // (c) Copyright 2005-2015 Eduardo Ramos Testillano & Francisco Ruiz Rayo                         //
4 //                                                                                                //
5 // See project site at http://redmine.teslayout.com/projects/anna-suite                           //
6 // See accompanying file LICENSE or copy at http://www.teslayout.com/projects/public/anna.LICENSE //
7
8
9 #ifndef anna_http_Version_hpp
10 #define anna_http_Version_hpp
11
12 #include <string>
13
14 #include <anna/config/defines.hpp>
15 #include <anna/core/define.autoenum.hpp>
16
17 namespace anna {
18
19 namespace http {
20
21 /**
22    Define los enumerados para facilitar el tratamiento de las distintas
23    versiones del protocolo HTTP.
24 */
25 class Version {
26 public:
27   enum _v { None, HTTP_1_0, HTTP_1_1 };
28
29   anna_declare_enum(Version)
30 };
31
32 }
33 }
34
35 #endif