~schwann/qtubuntu-camera/qtcamera-no-thumbnails

« back to all changes in this revision

Viewing changes to unittests/aalmediarecordercontrol/storagemanager.cpp

  • Committer: Tarmac
  • Author(s): Guenter Schwann
  • Date: 2013-06-07 12:25:19 UTC
  • mfrom: (46.2.10 qtcamera-video-recording)
  • Revision ID: tarmac-20130607122519-gjybf5yjncygcdfm
First version to support video recording.

Approved by PS Jenkins bot, Jim Hodapp.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*
 
2
 * Copyright (C) 2013 Canonical, Ltd.
 
3
 *
 
4
 * This program is free software; you can redistribute it and/or modify
 
5
 * it under the terms of the GNU Lesser General Public License as published by
 
6
 * the Free Software Foundation; version 3.
 
7
 *
 
8
 * This program is distributed in the hope that it will be useful,
 
9
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 
10
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 
11
 * GNU Lesser General Public License for more details.
 
12
 *
 
13
 * You should have received a copy of the GNU Lesser General Public License
 
14
 * along with this program.  If not, see <http://www.gnu.org/licenses/>.
 
15
 */
 
16
 
 
17
#include <QDebug>
 
18
#include <QString>
 
19
 
 
20
#include "storagemanager.h"
 
21
 
 
22
StorageManager::StorageManager()
 
23
{
 
24
}
 
25
 
 
26
QString StorageManager::nextPhotoFileName(const QString &directory)
 
27
{
 
28
    Q_UNUSED(directory);
 
29
    return QString();
 
30
}
 
31
 
 
32
QString StorageManager::nextVideoFileName(const QString &directory)
 
33
{
 
34
    Q_UNUSED(directory);
 
35
    return QString();
 
36
}
 
37
 
 
38
bool StorageManager::checkDirectory(const QString &path) const
 
39
{
 
40
    Q_UNUSED(path);
 
41
    return true;
 
42
}
 
43
 
 
44
QString StorageManager::nextMediaFileName(const QString &base, const QString &extension)
 
45
{
 
46
    Q_UNUSED(base);
 
47
    Q_UNUSED(extension);
 
48
    return QString();
 
49
}
 
50
 
 
51
QString StorageManager::fileNameGenerator(int idx, const QString &base,
 
52
                                          const QString& extension)
 
53
{
 
54
    Q_UNUSED(idx);
 
55
    Q_UNUSED(base);
 
56
    Q_UNUSED(extension);
 
57
    return QString();
 
58
}