OpenCores
URL https://opencores.org/ocsvn/utosnet/utosnet/trunk

Subversion Repositories utosnet

[/] [utosnet/] [trunk/] [software/] [uTosNet_cmd/] [uTosNet_cmd.h] - Blame information for rev 8

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 4 sonicwave
/*
2
* uTosNet commandline utility
3
 
4
* uTosNet_cmd.h
5
* File created by:
6
*       Simon Falsig
7
*       University of Southern Denmark
8
*       Copyright 2010
9
*
10
* This file is part of the uTosnet commandline utility
11
*
12
*       The uTosnet commandline utility is free software: you can redistribute it
13
*       and/or modify it under the terms of the GNU Lesser General Public License as
14
*       published by the Free Software Foundation, either version 3 of the License,
15
*       or (at your option) any later version.
16
*
17
*       The uTosnet commandline utility is distributed in the hope that it will be
18
*       useful, but WITHOUT ANY WARRANTY; without even the implied warranty of
19
*       MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU Lesser
20
*       General Public License for more details.
21
*
22
*       You should have received a copy of the GNU Lesser General Public License
23
*       along with the uTosnet commandline utility. If not, see
24
*       <http://www.gnu.org/licenses/>.
25
*/
26
 
27
 
28
#include <QtNetwork>
29
#include <QTcpSocket>
30
#include <QApplication>
31
 
32
 
33
class uTosNetCmdClass : public QObject
34
{
35
        Q_OBJECT
36
 
37
public:
38
        uTosNetCmdClass();
39
        ~uTosNetCmdClass();
40
 
41
        void run(int argc, char *argv[]);
42
 
43
        QApplication *currentApp;
44
 
45
public slots:
46
 
47
private:
48
        QTcpSocket socket;
49
 
50
};

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.