tpsession initial import
[tpsession] / tpsession-0.1 / tests / smstest / main.cpp
1 #include <QtCore/QCoreApplication>
2 #include "testprog.h"
3 #include <QDebug>
4 int main(int argc, char *argv[])
5 {
6     QCoreApplication a(argc, argv);
7
8     if(argc<2) {
9       qDebug() << "Usage smstest <telephone_number> <message>";
10       exit(0);
11     };
12       
13     TestProg t(argv[1],argv[2]);
14
15     return a.exec();
16 }