[cosmetics] update date in GPL header
[vuplus_xbmc] / xbmc / utils / WindowsShortcut.h
1 // WindowsShortcut.h: interface for the CWindowsShortcut class.
2 //
3 //////////////////////////////////////////////////////////////////////
4
5 #if !defined(AFX_WINDOWSSHORTCUT_H__A905CF83_3C3D_44FF_B3EF_778D70676D2C__INCLUDED_)
6 #define AFX_WINDOWSSHORTCUT_H__A905CF83_3C3D_44FF_B3EF_778D70676D2C__INCLUDED_
7
8 #if _MSC_VER > 1000
9 #pragma once
10 #endif // _MSC_VER > 1000
11
12 /*
13  *      Copyright (C) 2005-2013 Team XBMC
14  *      http://www.xbmc.org
15  *
16  *  This Program is free software; you can redistribute it and/or modify
17  *  it under the terms of the GNU General Public License as published by
18  *  the Free Software Foundation; either version 2, or (at your option)
19  *  any later version.
20  *
21  *  This Program is distributed in the hope that it will be useful,
22  *  but WITHOUT ANY WARRANTY; without even the implied warranty of
23  *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
24  *  GNU General Public License for more details.
25  *
26  *  You should have received a copy of the GNU General Public License
27  *  along with XBMC; see the file COPYING.  If not, see
28  *  <http://www.gnu.org/licenses/>.
29  *
30  */
31
32 #include <string>
33 using namespace std;
34 class CWindowsShortcut
35 {
36 public:
37   CWindowsShortcut();
38   virtual ~CWindowsShortcut();
39   static bool IsShortcut(const string& strFileName);
40   bool GetShortcut(const string& strFileName, string& strFileOrDir);
41 };
42
43 #endif // !defined(AFX_WINDOWSSHORTCUT_H__A905CF83_3C3D_44FF_B3EF_778D70676D2C__INCLUDED_)