summaryrefslogtreecommitdiffstats
blob: ebb1b6e1197ff73d4fc5976df5dfc8583c69aa7f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
/*
 * Copyright (c) 2010-2016 Isode Limited.
 * All rights reserved.
 * See the COPYING file for more information.
 */

#pragma once

#include <memory>

#include <Swiften/Base/API.h>
#include <Swiften/Network/Timer.h>

namespace Swift {
    class SWIFTEN_API TimerFactory {
        public:
            virtual ~TimerFactory();

            virtual Timer::ref createTimer(int milliseconds) = 0;
    };
}