CallState.h (746B)
1 /* -*- Mode: C++; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ 2 /* vim: set ts=8 sts=2 et sw=2 tw=80: */ 3 /* This Source Code Form is subject to the terms of the Mozilla Public 4 * License, v. 2.0. If a copy of the MPL was not distributed with this 5 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ 6 7 #ifndef mozilla_CallState_h 8 #define mozilla_CallState_h 9 10 namespace mozilla { 11 12 // An enum class to be used for returned value of callback functions. If Stop 13 // is returned from the callback function, caller stops calling further 14 // children. If Continue is returned then caller will keep calling further 15 // children. 16 enum class CallState { 17 Continue, 18 Stop, 19 }; 20 21 } // namespace mozilla 22 23 #endif // mozilla_CallSate_h