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/. */
5 
6 #ifndef InternetCiter_h
7 #define InternetCiter_h
8 
9 #include "nscore.h"
10 #include "nsStringFwd.h"
11 
12 namespace mozilla {
13 
14 /**
15  * Mail citations using standard Internet style.
16  */
17 class InternetCiter final {
18  public:
19   static void GetCiteString(const nsAString& aInString, nsAString& aOutString);
20 
21   static void Rewrap(const nsAString& aInString, uint32_t aWrapCol,
22                      uint32_t aFirstLineOffset, bool aRespectNewlines,
23                      nsAString& aOutString);
24 };
25 
26 }  // namespace mozilla
27 
28 #endif  // #ifndef InternetCiter_h
29