view gui/src/terminal/konsole_export.h @ 13501:86d6c3b90ad7

Added new gui files.
author Jacob Dawid <jacob.dawid@googlemail.com>
date Sun, 17 Jul 2011 17:45:05 +0200
parents
children c70511cf64ee
line wrap: on
line source

/*
    This file is part of the KDE project
    Copyright (C) 2009 Patrick Spendrin <ps_ml@gmx.de>

    This library 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 2 of the License, or
    (at your option) any later version.

    This library 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 this program; if not, write to the Free Software
    Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
    02110-1301  USA.
*/

#ifndef KONSOLE_EXPORT_H
#define KONSOLE_EXPORT_H

/* needed for KDE_EXPORT macros */
//#include <kdemacros.h>
#include <QtCore/qglobal.h>
#define KDE_EXPORT
#define KDE_IMPORT

#ifndef KONSOLEPRIVATE_EXPORT
# if defined(MAKE_KONSOLEPRIVATE_LIB)
   /* We are building this library */
#  define KONSOLEPRIVATE_EXPORT KDE_EXPORT
# else
   /* We are using this library */
#  define KONSOLEPRIVATE_EXPORT KDE_IMPORT
# endif
#endif

#include <iostream>
//#define kWarning(x) std::cout

#include <stdio.h>

//#define i18n 
inline QString tr(char *buff,...)
{
  char msg[2048];
    va_list arglist;

    va_start(arglist,buff);

    snprintf(msg,2048,buff, arglist);

    va_end(arglist);

    return QString(msg);
}

#define i18nc 


//#define KDE_fseek ::fseek
//#define KDE_lseek ::lseek


#endif