gecko/dom/system/gonk/nsVolumeStat.h
Botond Ballo d13f39481d Bug 1073081 - Fix -Wdelete-non-virtual-dtor warnings by marking some classes as MOZ_FINAL. r=ehsan
--HG--
extra : source : 7a909c534cf723b252ea5b0a225a6656399b5b2e
2014-11-24 18:38:23 -05:00

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__