~ci-train-bot/mediascanner2/mediascanner2-ubuntu-yakkety-landing-063

« back to all changes in this revision

Viewing changes to src/extractor/dbus-marshal.hh

  • Committer: CI Train Bot
  • Author(s): James Henstridge
  • Date: 2015-11-09 01:56:37 UTC
  • mfrom: (288.1.28 external-metadata)
  • Revision ID: ci-train-bot@canonical.com-20151109015637-q4ixft4f3l2t1r3m
Move the metadata extractor to a separate process to isolate bugs in media codecs. Fixes: #1508142
Approved by: PS Jenkins bot

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*
 
2
 * Copyright (C) 2014 Canonical, Ltd.
 
3
 *
 
4
 * Authors:
 
5
 *    James Henstridge <james.henstridge@canonical.com>
 
6
 *
 
7
 * This library is free software; you can redistribute it and/or modify it under
 
8
 * the terms of version 3 of the GNU General Public License as published
 
9
 * by the Free Software Foundation.
 
10
 *
 
11
 * This library is distributed in the hope that it will be useful, but WITHOUT
 
12
 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
 
13
 * FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
 
14
 * details.
 
15
 *
 
16
 * You should have received a copy of the GNU General Public License
 
17
 * along with this program.  If not, see <http://www.gnu.org/licenses/>.
 
18
 */
 
19
 
 
20
#ifndef EXTRACTOR_DBUS_MARSHAL_HH
 
21
#define EXTRACTOR_DBUS_MARSHAL_HH
 
22
 
 
23
#include <glib.h>
 
24
 
 
25
namespace mediascanner {
 
26
 
 
27
class MediaFile;
 
28
 
 
29
GVariant *media_to_variant(const MediaFile &media);
 
30
MediaFile media_from_variant(GVariant *variant);
 
31
 
 
32
}
 
33
 
 
34
#endif