Don't keep compiling/run if something failed.
[kdevelopdvcssupport.git] / plugins / teamwork / helpers.h
blobab2547e97f4b9ddb8ab08e7ec3486dbecd5247b9
1 /***************************************************************************
2 Copyright 2006 David Nolden <david.nolden.kdevelop@art-master.de>
3 ***************************************************************************/
5 /***************************************************************************
6 * *
7 * This program is free software; you can redistribute it and/or modify *
8 * it under the terms of the GNU General Public License as published by *
9 * the Free Software Foundation; either version 2 of the License, or *
10 * (at your option) any later version. *
11 * *
12 ***************************************************************************/
14 #ifndef HELPERS_H
15 #define HELPERS_H
17 #include "teamworkfwd.h"
19 ///This header contains little helper-functions that have no other dependencies than teamworkfwd.h
21 /**Returns the user the session is pointing to, and returns zero if the session is zero.
22 * */
23 Teamwork::UserPointer userFromSession( const Teamwork::SessionPointer& session );
25 #endif
27 // kate: space-indent on; indent-width 2; tab-width 2; replace-tabs on