1 /* 2 * Copyright 2009, Dana Burkart 3 * Copyright 2009, Stephan Aßmus <superstippi@gmx.de> 4 * Copyright 2010, Axel Dörfler, axeld@pinc-software.de 5 * Copyright 2010, Rene Gollent (anevilyak@gmail.com) 6 * Distributed under the terms of the MIT License. 7 */ 8 #ifndef _NATURAL_COMPARE_H 9 #define _NATURAL_COMPARE_H 10 11 12 namespace BPrivate { 13 14 15 //! Compares two strings naturally, as opposed to lexicographically 16 int NaturalCompare(const char* stringA, const char* stringB); 17 18 19 } // namespace BPrivate 20 21 22 #endif // _NATURAL_COMPARE_H 23