Commit 10b1994c authored by Slava Monich's avatar Slava Monich

[mms-lib] Move mms_transfer_list_log definition to mms-lib

It makes more sense to define it where interface is defined,
rather than on the implementation side.
parent a5967861
/*
* Copyright (C) 2013-2016 Jolla Ltd.
* Contact: Slava Monich <slava.monich@jolla.com>
* Copyright (C) 2016-2019 Jolla Ltd.
* Copyright (C) 2016-2019 Slava Monich <slava.monich@jolla.com>
* Copyright (C) 2019 Open Mobile Platform LLC.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as
......@@ -16,7 +17,9 @@
/* Logging */
#define GLOG_MODULE_NAME mms_transfer_list_log
#include "mms_lib_log.h"
#include <gutil_log.h>
GLOG_MODULE_DEFINE("mms-transfer-list");
G_DEFINE_ABSTRACT_TYPE(MMSTransferList, mms_transfer_list, G_TYPE_OBJECT)
......
/*
* Copyright (C) 2016 Jolla Ltd.
* Contact: Slava Monich <slava.monich@jolla.com>
* Copyright (C) 2016-2019 Jolla Ltd.
* Copyright (C) 2016-2019 Slava Monich <slava.monich@jolla.com>
* Copyright (C) 2019 Open Mobile Platform LLC.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as
......@@ -17,7 +18,6 @@
/* Logging */
#define GLOG_MODULE_NAME mms_transfer_list_log
#include <gutil_log.h>
GLOG_MODULE_DEFINE("mms-transfer-list-test");
/* Class definition */
typedef MMSTransferListClass MMSTransferListTestClass;
......
/*
* Copyright (C) 2016 Jolla Ltd.
* Contact: Slava Monich <slava.monich@jolla.com>
* Copyright (C) 2016-2019 Jolla Ltd.
* Copyright (C) 2016-2019 Slava Monich <slava.monich@jolla.com>
* Copyright (C) 2019 Open Mobile Platform LLC.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as
......@@ -18,12 +19,6 @@
#include <gutil_strv.h>
/* Log module */
#define GLOG_MODULE_NAME mms_transfer_list_log
#include "mms_lib_log.h"
#include <gutil_log.h>
GLOG_MODULE_DEFINE("mms-transfer-list");
/* Generated code */
#include "org.nemomobile.MmsEngine.TransferList.h"
......
/*
* Copyright (C) 2016 Jolla Ltd.
* Contact: Slava Monich <slava.monich@jolla.com>
* Copyright (C) 2016-2019 Jolla Ltd.
* Copyright (C) 2016-2019 Slava Monich <slava.monich@jolla.com>
* Copyright (C) 2019 Open Mobile Platform LLC.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as
......@@ -16,8 +17,9 @@
#ifndef JOLLA_MMS_TRANSFER_LIST_DBUS_LOG_H
#define JOLLA_MMS_TRANSFER_LIST_DBUS_LOG_H
#define MMS_LOG_MODULE_NAME mms_transfer_list_log
#define GLOG_MODULE_NAME mms_transfer_list_log
#include "mms_lib_log.h"
#include <gutil_log.h>
#endif /* JOLLA_MMS_TRANSFER_LIST_DBUS_LOG_H */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment