Changeset 315:e6c8bb244ecd in SMSSender for common/business/iaccount_tasks.h


Ignore:
Timestamp:
Feb 5, 2014 7:11:10 PM (6 years ago)
Author:
Sämy Zehnder <saemy.zehnder@…>
Branch:
separation-frontend-backend
Message:
  • Separates the frontend from the backend code.
  • At this point the schoolnet gateway is converted only.
  • Removes bc & da prefixes from the filenames.
File:
1 moved

Legend:

Unmodified
Added
Removed
  • common/business/iaccount_tasks.h

    r218 r315  
    1616  along with this program.  If not, see <http://www.gnu.org/licenses/>.
    1717*/
    18 #ifndef IACCOUNT_TASKS_H_
    19 #define IACCOUNT_TASKS_H_
     18#ifndef COMMON_IACCOUNT_TASKS_H
     19#define COMMON_IACCOUNT_TASKS_H
    2020
    2121#include <QSet>
    2222#include <QString>
    2323
    24 #include "datatypes_global.h"
    25 
    26 #include "scontact.h"
    27 #include "stask.h"
     24#include "common/domain/scontact.h"
     25#include "common/domain/stask.h"
     26#include "common/global.h"
    2827
    2928class IAccount;
     
    3534const uint UID_SEND_SMS      = 300;
    3635
    37 class DATATYPES_SHARED_EXPORT IAccountTask : public SThreadedTask {
     36class COMMON_EXPORT IAccountTask : public SThreadedTask {
    3837    Q_OBJECT
    3938
     
    5150
    5251
    53 class DATATYPES_SHARED_EXPORT IAccountInitTask : public IAccountTask {
     52class COMMON_EXPORT IAccountInitTask : public IAccountTask {
    5453    Q_OBJECT
    5554
     
    6160
    6261
    63 class DATATYPES_SHARED_EXPORT IAccountLoginTask : public IAccountTask {
     62class COMMON_EXPORT IAccountLoginTask : public IAccountTask {
    6463    Q_OBJECT
    6564
     
    7170
    7271
    73 class DATATYPES_SHARED_EXPORT ISMSSendTask : public IAccountTask {
     72class COMMON_EXPORT ISMSSendTask : public IAccountTask {
    7473    Q_OBJECT
    7574
     
    7978
    8079public:
    81     virtual QString        message() const =0;
    82     virtual QSet<SContact> recipients() const =0;
     80    virtual QString message() const =0;
     81    virtual QSet<const SContact*> recipients() const =0;
    8382};
    8483Q_DECLARE_INTERFACE(ISMSSendTask, "ch.gorrion.smssender.ISMSSendTask/1.0")
    8584
    86 #endif /* IACCOUNT_TASKS_H_ */
     85#endif /* COMMON_IACCOUNT_TASKS_H */
Note: See TracChangeset for help on using the changeset viewer.