1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-08-30 09:10:53 +02:00

Build portfwd dynamically

This commit is contained in:
Dominik Schmidt
2011-05-21 12:12:07 +02:00
parent 8dc7bca9dd
commit 864dc8d096
6 changed files with 59 additions and 14 deletions

View File

@@ -17,6 +17,9 @@
#ifndef LIBPORTFWD_PORTFWD_H
#define LIBPORTFWD_PORTFWD_H true
#include "portfwddllmacro.h"
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
@@ -26,7 +29,7 @@
struct UPNPUrls;
struct IGDdatas;
class Portfwd
class PORTFWDDLLEXPORT Portfwd
{
public:
Portfwd();

View File

@@ -0,0 +1,32 @@
/* === This file is part of Tomahawk Player - <http://tomahawk-player.org> ===
*
* Copyright 2011, Dominik Schmidt <dev@dominik-schmidt.de>
*
* Tomahawk is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* Tomahawk is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with Tomahawk. If not, see <http://www.gnu.org/licenses/>.
*/
#ifndef PORTFWDDLLMACRO_H
#define PORTFWDDLLMACRO_H
#include <QtCore/qglobal.h>
#ifndef PORTFWDDLLEXPORT
# if defined (PORTFWDDLLEXPORT_PRO)
# define PORTFWDDLLEXPORT Q_DECL_EXPORT
# else
# define PORTFWDDLLEXPORT Q_DECL_IMPORT
# endif
#endif
#endif