toolsandutils/e32tools/checklib/library/library.h
branchGCC_SURGE
changeset 56 626366955efb
parent 55 59148e28d9f6
child 57 e69da8462916
--- a/toolsandutils/e32tools/checklib/library/library.h	Fri Jun 25 18:24:47 2010 +0100
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,53 +0,0 @@
-// Copyright (c) 2008-2009 Nokia Corporation and/or its subsidiary(-ies).
-// All rights reserved.
-// This component and the accompanying materials are made available
-// under the terms of "Eclipse Public License v1.0"
-// which accompanies this distribution, and is available
-// at the URL "http://www.eclipse.org/legal/epl-v10.html".
-//
-// Initial Contributors:
-// Nokia Corporation - initial contribution.
-//
-// Contributors:
-//
-// Description:
-// Class for reading libraries in Unix "ar" format.
-// 
-//
-
-#ifndef LIBRARY_H
-#define LIBRARY_H
-
-#include <vector>
-#include <utility>
-
-
-class Library
-{
-public:
-    Library(const char a_file_name[]);
-    ~Library();
-public:
-    bool contains_symbol(const char[]) const;
-
-    const std::vector< std::pair<const char*, const char*> >* get_objects() const;
-private:
-    const char* _eat_ar_header(const char*, const char*) const;
-    const char* _eat_sym_table(const char*, const char*) const;
-    const char* _eat_junk_objs(const char*, const char*) const;
-
-    const char* _eat_obj_header(const char*, const char*, unsigned long*, const char* = 0) const;
-
-private:
-    const char* m_mem_p;
-
-    const char* m_first_p;
-    const char* m_last_p;
-
-    mutable std::vector<const char*> m_symbols;
-    mutable std::vector< std::pair<const char*, const char*> > m_objects;
-};
-
-
-#endif
-