Bug 1686495 [wpt PR 27132] - Add tests for proposed WebDriver Shadow DOM support...
[gecko.git] / editor / libeditor / InternetCiter.h
blob7fa2c116979d2b5d086c86fe81bdb73abf49da6b
1 /* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
2 /* This Source Code Form is subject to the terms of the Mozilla Public
3 * License, v. 2.0. If a copy of the MPL was not distributed with this
4 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
6 #ifndef InternetCiter_h
7 #define InternetCiter_h
9 #include "nscore.h"
10 #include "nsStringFwd.h"
12 namespace mozilla {
14 /**
15 * Mail citations using standard Internet style.
17 class InternetCiter final {
18 public:
19 static nsresult GetCiteString(const nsAString& aInString,
20 nsAString& aOutString);
22 static nsresult Rewrap(const nsAString& aInString, uint32_t aWrapCol,
23 uint32_t aFirstLineOffset, bool aRespectNewlines,
24 nsAString& aOutString);
27 } // namespace mozilla
29 #endif // #ifndef InternetCiter_h