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 nsresult GetCiteString(const nsAString& aInString,
20                                 nsAString& aOutString);
21 
22   static nsresult Rewrap(const nsAString& aInString, uint32_t aWrapCol,
23                          uint32_t aFirstLineOffset, bool aRespectNewlines,
24                          nsAString& aOutString);
25 };
26 
27 }  // namespace mozilla
28 
29 #endif  // #ifndef InternetCiter_h
30