diff --git a/headers/os/storage/Statable.h b/headers/os/storage/Statable.h index cf4e0c2604..4dcb4bd5d1 100644 --- a/headers/os/storage/Statable.h +++ b/headers/os/storage/Statable.h @@ -1,5 +1,5 @@ /* - * Copyright 2002-2006, Haiku, Inc. All Rights Reserved. + * Copyright 2002-2007, Haiku, Inc. All Rights Reserved. * Distributed under the terms of the MIT License. */ #ifndef _STATABLE_H @@ -17,6 +17,8 @@ class BVolume; class BStatable { public: + virtual ~BStatable(); + virtual status_t GetStat(struct stat *st) const = 0; bool IsFile() const; diff --git a/src/kits/storage/Statable.cpp b/src/kits/storage/Statable.cpp index 4063f7f3f2..57acb7771a 100644 --- a/src/kits/storage/Statable.cpp +++ b/src/kits/storage/Statable.cpp @@ -1,7 +1,12 @@ -//---------------------------------------------------------------------- -// This software is part of the Haiku distribution and is covered -// by the MIT license. -//--------------------------------------------------------------------- +/* + * Copyright 2002-2007, Haiku, Inc. All Rights Reserved. + * Distributed under the terms of the MIT License. + * + * Authors: + * Tyler Dauwalder + * Ingo Weinhold, bonefish@users.sf.net + */ + /*! \file Statable.cpp BStatable implementation. @@ -14,6 +19,12 @@ #include + +BStatable::~BStatable() +{ +} + + /*! \fn status_t GetStat(struct stat *st) const \brief Returns the stat stucture for the node. \param st the stat structure to be filled in.