source: lumina/libLumina/LuminaOS.h @ 49e615f

releng/10.0.3releng/10.1releng/10.1.1releng/10.1.2
Last change on this file since 49e615f was 49e615f, checked in by Ken Moore <ken@…>, 11 months ago

Add a new class to libLumina: LuminaOS (LOS:: internally). This class provides any OS-specific system calls, and can easily be used by different OS's simply by commenting out the LuminaOS-FreeBSD.cpp file from the project and inserting the appropraite LuminaOS-<OS>.cpp file instead. This means that the mainter of Lumina for a particular OS just needs to keep that one OS-specific file up to date.
I will be moving the rest of the OS-specific calls in lumina-desktop/Globals.h to this new location in the near future.

  • Property mode set to 100644
File size: 575 bytes
Line 
1//===========================================
2//  Lumina-DE source code
3//  Copyright (c) 2014, Ken Moore
4//  Available under the 3-clause BSD license
5//  See the LICENSE file for full details
6//===========================================
7#ifndef _LUMINA_LIBRARY_OS_H
8#define _LUMINA_LIBRARY_OS_H
9
10#include <QString>
11#include <QStringList>
12
13#include "LuminaUtils.h"
14
15class LOS{
16public:
17        //Scan for external devices
18        QStringList ExternalDevicePaths(); //Returns: QStringList[<type>::::<filesystem>::::<path>]
19          //Note: <type> = [USB, HDRIVE, DVD, SDCARD, UNKNOWN]
20};
21
22#endif
Note: See TracBrowser for help on using the repository browser.