mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
d13f39481d
--HG-- extra : source : 7a909c534cf723b252ea5b0a225a6656399b5b2e
31 lines
654 B
C++
31 lines
654 B
C++
/* This Source Code Form is subject to the terms of the Mozilla Public
|
|
* License, v. 2.0. If a copy of the MPL was not distributed with this file,
|
|
* You can obtain one at http://mozilla.org/MPL/2.0/. */
|
|
|
|
#ifndef mozilla_system_nsvolumestat_h__
|
|
#define mozilla_system_nsvolumestat_h__
|
|
|
|
#include "nsIVolumeStat.h"
|
|
#include "nsString.h"
|
|
#include <sys/statfs.h>
|
|
|
|
namespace mozilla {
|
|
namespace system {
|
|
|
|
class nsVolumeStat MOZ_FINAL : public nsIVolumeStat
|
|
{
|
|
public:
|
|
NS_DECL_ISUPPORTS
|
|
NS_DECL_NSIVOLUMESTAT
|
|
|
|
nsVolumeStat(const nsAString& aPath);
|
|
|
|
private:
|
|
struct statfs mStat;
|
|
};
|
|
|
|
} // system
|
|
} // mozilla
|
|
|
|
#endif // mozilla_system_nsvolumestat_h__
|