ViewVC Help
View File | Revision Log | Show Annotations | Download File | View Changeset | Root Listing
root/truck/DashInterface/DashInterface.cpp
(Generate patch)

Comparing DashInterface/DashInterface.cpp (file contents):
Revision 24 by douglas, 2008-02-08T07:25:47-08:00 vs.
Revision 25 by douglas, 2008-02-09T01:39:22-08:00

# Line 4 | Line 4
4   //
5   // $Id$
6  
7 + #include <iostream>
8 +
9 + #include <foreach.hpp>
10 + #include <hash.hpp>
11 +
12   #include <Audacious.hpp>
13   #include <GPS.hpp>
14  
15 + #include <sqlite3.h>
16 +
17   int main(int argc, char *argv[])
18   {
19 +        try
20 +        {
21 +                enum { Uname, Music, English, Metric, Nautical, Last } mode;
22 +                Audacious audacious;
23 +                GPS::GPS gps;
24 +
25 +                {
26 +                        gps.Query(_B("o"));
27 +
28 +                        std::cout << gps.GetLatitude() << std::endl;
29 +                }
30 +        }
31 +        catch (const std::exception &exception)
32 +        {
33 +                std::cerr << argv[0] << _B(": ") << exception.what() << std::endl;
34 +
35 +                return 1;
36 +        }
37 +
38          return 0;
39   }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines