~ubuntu-branches/ubuntu/edgy/digikam/edgy-proposed

« back to all changes in this revision

Viewing changes to digikam/libs/dcraw/dcrawbinary.h

  • Committer: Bazaar Package Importer
  • Author(s): Achim Bohnet
  • Date: 2006-05-15 01:15:02 UTC
  • mfrom: (1.2.5 upstream)
  • Revision ID: james.westby@ubuntu.com-20060515011502-kpyuz7766hpbuia8
Tags: 0.8.2~rc1-0ubuntu1
* sync with debian (UVF see #44102)
  0.8.2~rc1-0ubuntu1 is identical to debian's 0.8.1+0.8.2-rc1-1.
  Version was changed due to latest 0.8.1.ubuntu-0ubuntu1 upload.
  This version is unfortunately bigger than debian's 0.8.1+0.8.2-rc1-1
* Merge in ubuntu changelog

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/* ============================================================
 
2
 * Author: Marcel Wiesweg <marcel.wiesweg@gmx.de>
 
3
 * Date  : 2006-04-13
 
4
 * Description : Autodetect dcraw binary
 
5
 *
 
6
 * Copyright 2006 by Marcel Wiesweg
 
7
 *
 
8
 * This program is free software; you can redistribute it
 
9
 * and/or modify it under the terms of the GNU General
 
10
 * Public License as published by the Free Software Foundation;
 
11
 * either version 2, or (at your option)
 
12
 * any later version.
 
13
 * 
 
14
 * This program is distributed in the hope that it will be useful,
 
15
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 
16
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 
17
 * GNU General Public License for more details.
 
18
 *
 
19
 * ============================================================ */
 
20
 
 
21
#ifndef DCRAWBINARY_H
 
22
#define DCRAWBINARY_H
 
23
 
 
24
// Qt includes.
 
25
 
 
26
#include <qstring.h>
 
27
 
 
28
// Digikam Includes.
 
29
 
 
30
#include "digikam_export.h"
 
31
 
 
32
namespace Digikam
 
33
{
 
34
 
 
35
class DIGIKAM_EXPORT DcrawBinary
 
36
{
 
37
 
 
38
public:
 
39
 
 
40
    static DcrawBinary *instance();
 
41
    static void cleanUp();
 
42
 
 
43
    bool checkSystem();
 
44
 
 
45
    const char *path();
 
46
    bool isAvailable();
 
47
 
 
48
private:
 
49
 
 
50
    DcrawBinary();
 
51
    ~DcrawBinary();
 
52
 
 
53
    static DcrawBinary *m_instance;
 
54
 
 
55
    bool m_available;
 
56
};
 
57
 
 
58
} // namespace Digikam
 
59
 
 
60
#endif  // DCRAWBINARY_H