Debian Codegraph @

tests/unittests/stubs/photo_stub.cpp

raw symbols SCIP
1 /*
2 * Copyright (C) 2011-2012 Canonical Ltd.
3 *
4 * This program is free software: you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License version 3 as
6 * published by the Free Software Foundation.
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 General Public License for more details.
12 *
13 * You should have received a copy of the GNU General Public License
14 * along with this program. If not, see <http://www.gnu.org/licenses/>.
15 *
16 * Authors:
17 * Jim Nelson <[email protected]>
18 * Lucas Beeler <[email protected]>
19 * Charles Lindsay <[email protected]>
20 * Eric Gregory <[email protected]>
21 * Clint Rogers <[email protected]>
22 */
23
24 #include "photo.h"cxx . . $ `<file>/src/photo/photo.h`/
25
26 // util
27 #include <orientation.h>cxx . . $ `<file>/src/util/orientation.h`/
28
29 #include <QFileInfo>
30 #include <QImage>
31
32 QFileInfocxx . . $ QFileInfo# photoDummyFileInfocxx . . $ photoDummyFileInfo.;
33
34 /*!
35 * \brief Photo::Photo
36 * \param file
37 */
38 Photocxx . . $ Photo#::Photocxx . . $ Photo#Photo(208c3155c9413262).(const QFileInfocxx . . $ QFileInfo#& file)
39 : MediaSourcecxx . . $ MediaSource#(file),
40 m_originalSizecxx . . $ Photo#m_originalSize.(),
41 m_originalOrientationcxx . . $ Photo#m_originalOrientation.(TOP_LEFT_ORIGINcxx . . $ TOP_LEFT_ORIGIN.)
42 {
43 photoDummyFileInfocxx . . $ photoDummyFileInfo. =cxx . . $ QFileInfo#`operator=`(184bb8e206254843). file;
44 }
45
46 Photocxx . . $ Photo#::~cxx . . $ Photo#`~Photo`(49f6e7a06ebc5aa8).Photocxx . . $ Photo#()
47 {
48 }
49
50 MediaSourcecxx . . $ MediaSource#::MediaTypecxx . . $ MediaSource#MediaType# Photocxx . . $ Photo#::typecxx . . $ Photo#type(38a79017afaaa6a2).() const
51 {
52 return MediaSourcecxx . . $ MediaSource#::Photocxx . . $ MediaSource#Photo.;
53 }
54
55 Orientationcxx . . $ Orientation# Photocxx . . $ Photo#::orientationcxx . . $ Photo#orientation(1e41512987885a7e).() const
56 {
57 return m_originalOrientationcxx . . $ Photo#m_originalOrientation.;
58 }
59
60 bool Photocxx . . $ Photo#::canBeEditedcxx . . $ Photo#canBeEdited(50ce9a9e25b4a850).() const
61 {
62 return true;
63 }
64
65 void Photocxx . . $ Photo#::destroySourcecxx . . $ Photo#destroySource(b0b38cda41d4ede4).(bool destroyBacking, bool asOrphan)
66 {
67 }
68
69 void Photocxx . . $ Photo#::setOriginalOrientationcxx . . $ Photo#setOriginalOrientation(94bb006ea383a72d).(Orientationcxx . . $ Orientation# orientation)
70 {
71 m_originalOrientationcxx . . $ Photo#m_originalOrientation. = orientation;
72 }