// Copyright (C) 2011 The Libphonenumber Authors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in writing, software // distributed under the License is distributed on an "AS IS" BASIS, // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. // // Author: Lara Rennie // Author: Tao Huang // // This is a direct port from PhoneNumberMatcher.java. // Changes to this class should also happen to the Java version, whenever it // makes sense. #ifndef I18N_PHONENUMBERS_PHONENUMBERMATCHER_H_ #define I18N_PHONENUMBERS_PHONENUMBERMATCHER_H_ #include <string> #include <vector> #include "phonenumbers/base/basictypes.h" #include "phonenumbers/base/memory/scoped_ptr.h" #include "phonenumbers/callback.h" #include "phonenumbers/regexp_adapter.h" namespace i18n { namespace phonenumbers { template <class R, class A1, class A2, class A3, class A4> class ResultCallback4; string; vector; class AlternateFormats; class NumberFormat; class PhoneNumber; class PhoneNumberMatch; class PhoneNumberMatcherRegExps; class PhoneNumberUtil; class PhoneNumberMatcher { … }; } // namespace phonenumbers } // namespace i18n #endif // I18N_PHONENUMBERS_PHONENUMBERMATCHER_H_