kde-extraapps/okular/shell/okular_main.h
Ivailo Monev 79f2f907b5 okular: add include-guards to document and okular_main headers, rename the status enum
fixes ODR issues

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-06-12 12:00:18 +03:00

32 lines
1.3 KiB
C++

/***************************************************************************
* Copyright (C) 2002 by Wilco Greven <greven@kde.org> *
* Copyright (C) 2003 by Christophe Devriese *
* <Christophe.Devriese@student.kuleuven.ac.be> *
* Copyright (C) 2003 by Laurent Montel <montel@kde.org> *
* Copyright (C) 2003-2007 by Albert Astals Cid <aacid@kde.org> *
* Copyright (C) 2004 by Andy Goossens <andygoossens@telenet.be> *
* *
* This program 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. *
***************************************************************************/
#include <QString>
#include <QStringList>
#ifndef OKULAR_MAIN_H
#define OKULAR_MAIN_H
namespace Okular
{
enum OkularStatus { Error, AttachedOtherProcess, Success };
OkularStatus main(const QStringList &paths, const QString &serializedOptions);
}
#endif // OKULAR_MAIN_H
/* kate: replace-tabs on; indent-width 4; */