ViewVC Help
View File | Revision Log | Show Annotations | Download File | View Changeset | Root Listing
root/repos/GoogleTron/Url.hpp
Revision: 676
Committed: 2006-03-04T05:15:00-08:00 (19 years, 4 months ago) by douglas
File size: 528 byte(s)
Log Message:
It's check in time!

File Contents

# User Rev Content
1 douglas 676 // Url
2     //
3     // Douglas Thrift
4     //
5     // $Id$
6    
7     #ifndef _Url_hpp_
8     #define _Url_hpp_
9    
10     #include <cxx/platform.hpp>
11    
12     #ifdef MENES_PRAGMA_ONCE
13     #pragma once
14     #endif
15    
16     #include <ctime>
17    
18     enum Frequency { always, hourly, daily, weekly, monthly, yearly, never };
19    
20     class Url
21     {
22     cse::String location;
23     std::tm *modified;
24     Frequency frequency;
25     uint8_t priority;
26     public:
27     cse::String GetLocation() const { return location; }
28     cse::String GetModified() const;
29     cse::String GetFrequency() const;
30     cse::String GetPriority() const;
31     };
32    
33     #endif//_Url_hpp_

Properties

Name Value
svn:eol-style native
svn:keywords Id